Skip to content
#

type-safety

Here are 238 public repositories matching this topic...

EricSchles
EricSchles commented Sep 3, 2021

Hi all,

Big fan of functional programming. I'm glad to see ya'll trying to bring this to Python. My question / request is pretty basic, I hope. I was looking over the docs and I saw:

result: Result[int, Any] = Success(1).map(double)

When looking at this I was confused for a couple of reasons, since the syntax is new to me. But the biggest stumbling block was the:

result:

I c

hegel
Soremwar
Soremwar commented Aug 16, 2020

With #292 landed the following Web APIs were added (warning: some typings to be reviewed in future PRs).

This issue works as a tracker for the remaining APIs to support

  • AbortController
  • AbortSignal
  • AbstractRange
  • AnalyserNode
  • Animation
  • AnimationEffect
  • AnimationEvent
  • AnimationPlaybackEvent
  • AnimationTimeline
  • ApplicationCache
mammoth
martijndeh
martijndeh commented Sep 27, 2020

The .returning() function currently only supports strings (which should be the target table's column names). In reality they can accept any expression and (returning) query.

This should be supported:

insert into bar (val) values (123) returning (select count(*) from bar), id, val || 'test'

which would equate to something like:

db.insertInto(bar).values({ val: 123 })

Improve this page

Add a description, image, and links to the type-safety topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the type-safety topic, visit your repo's landing page and select "manage topics."

Learn more