-
## Compiler version
3.1.2
## Minimized code
```Scala
enum Format[A]:
case Str[Next](next: Format[Next]) extends Format[(String, Next)]
case Num[Next](next: Format[Next]) extends Format…
-
## Compiler version
3.1.2
## Minimized code
```Scala
enum Foo[A, B]:
case Bar[A]() extends Foo[A, A]
def doFoo[A](foo: Foo[A, String]): String = foo match
case Foo.Bar() => "baz"
`…
-
Since [template-haskell-2.18
](https://hackage.haskell.org/package/template-haskell-2.18.0.0/docs/Language-Haskell-TH.html) Some data ctors contained breaking changes. Building with this version or l…
-
## Compiler version
3.2.1
## Minimized code
```scala
enum Tag[A]:
case MyTuple extends Tag[(String, String)]
def printIt[A](t: Tag[A], a: A): Unit =
t match
case Tag.MyTuple =>…
-
## Compiler version
`3.1.2-RC2`
## Minimized code
```Scala
enum SUB[-A, +B]:
case Refl[X]() extends SUB[X, X]
def foo[C, A >: C
```
It seems that in the code snippet above, th…
-
## Compiler version
3.2.2
3.3.0-RC2
## Reproduction steps
```
git clone https://github.com/TomasMikula/libretto.git
cd libretto
git checkout 075f9f1911652ccaaa77dbf16e0b35ebd4a9dfc3
sbt …
-
Looking at the mess Rust has created with its handling of mutability, and also the confusion l-values and r-values cause in C/C++ I think a simpler model is needed for mutability. I also think that mu…
keean updated
4 years ago
-
To add to the roundup todo list, use the following markdown format.
```
- [ ] optional description [link name](/link/to/item)
```
So it generates the following:
- [x] optional description [li…
skial updated
9 months ago
-
An enum with 1000 value cases will cause a crash:
## Minimized code
```Scala
// generated by `(1 to 1000).map(i => s" case e$i").mkString("enum LargeEnum {\n", "\n", "\n}")`
enum LargeEnum {
…
-
### Your environment
_Which OS do you use?_
MacOS 14 Sonoma Developer Beta (Macbook Pro with Apple Silicon)
_Which version of GHC do you use and how did you install it?_
9.2.8 from ghcup.
_How …