-
## Compiler version
scalac -version
$ Scala compiler version 3.4.0 -- Copyright 2002-2024, LAMP/EPFL
## Minimized example
```Scala
trait T[A] {
def v: A
}
trait T2[F[_], A] {
def v: A…
-
## Compiler version
3.4.0-RC1
## Minimized code
```Scala
trait A[T]
type B = A | List // Error: Type argument A does not have the same kind as its bound
def foo[C
-
-
https://returns.readthedocs.io/
Use case: for the `model.SchemaModel` class, we want to be able to support higher kinded types in methods e.g. the `validate` method, such that it can return type-va…
-
# Suggestion
First, let me say that this proposal is different than https://github.com/microsoft/TypeScript/issues/1213, although it achieves a similar goal. I am not proposing that type parameters…
-
I'm currently trying to add some tests to the `multiset` package. In particular, I want to test [`MultiSet`](http://hackage.haskell.org/package/multiset-0.3.4.1/docs/Data-MultiSet.html#t:MultiSet)'s `…
-
```haskell
{-@ foo :: Maybe i:Int -> Maybe Int @-}
foo :: Maybe a -> Maybe a
foo = id
```
```
/Users/chris/Work/liquid-post/examples/Monad.hs:8:19: Error: Cannot parse specification:
…
-
Languages without higher-kinded types (HKT) have libraries for functional programming that make use of simulated HKT through [[2014] Type defunctionalization (1.3)](https://www.cl.cam.ac.uk/~jdy22/pap…
-
Let's assume we offer interfaces up to `__n` (currently 5, soon 9).
There will be a day when someone would need to create a class with `n + x` type parameters (x >= 1).
We cannot add new interface inf…
-
Thank you for the great work on this library. Indispensable in keeping my Haskell types in sync with the front end types in elm.
I'm am using this library via servant-elm. In the backend I use beam…