-
### 🔎 Search Terms
Generics
### đź•— Version & Regression Information
### ⏯ Playground Link
https://www.typescriptlang.org/play?#code/GYVwdgxgLglg9mABKSAeAUIriAqBGAGk2xwGZEBTADygrABM…
-
Not sure how easy it would be to back-port "Fall-from-Grace" type inference to Dhall. But I had this idea: We can perhaps proceed in small steps and introduce a small amount of type inference that won…
-
I wouldn't have thought these would be particularly hard to unify, but regardless, a compilation error seems like an unlikely end? It can always be a List[Any] !
```scala
scala> List(List(1), Stream(…
-
There seems to be some solutions to type inference exercises that are incorrect in the current version of the compendium, presumably due to more precise type inference in newer Scala compiler versions…
-
```
$ cat ex_seq.fz
ex_seq =>
f (T type, a Sequence (Sequence T)) =>
unit
y := [[1,2,3].as_list, [4,5,6].as_list,[7,8,9].as_list].as_list
f y
$ fz ex_seq.fz
ex_seq.fz:7:5: er…
-
### Question
I have a use case in which i want to force pylint to use the type hint of a variable, instead of the inferred value.
For example i have the following code
```
number: int = "123"
…
-
This library is really helping us at work to make our code safer. However, we've noticed that readability can suffer when using .andThen/.orElse chains, especially when integrating with old async code…
-
The following throws an error that 0 is not a single-float:
```
(TEDDY/DATA-FRAME::MAKE-DATA-FRAME
'("subject" "time" "conc")
:ROWS '(("1" 0.5 0.94) ("1" 0 0.78)))
```
Perhaps we should be…
-
Hey, thanks for your awesome lib!
When using generics in mutations (and actions too), lookup types are not inferred as accurately as they could be.
Here is my store definition:
```ts
import { …
-
It would be nice if we could create coroutines like so:
```
class A
class B extends A
coroutine {
yieldval(new A())
yieldval(new B())
}
```
so that this code would return a coroutine …