-
Exception when trying to run compile-time code:
substVarsWith: couldn't look up variable substitution for res_6341068275337720628
CallStack (from HasCallStack):
error, called at src\Dat…
-
not all for ghc-9, some are required earlier.
```
import Data.GADT.Show
+import Data.Type.Equality ((:~:)(Refl))
import Data.GADT.Compare
```
and import package `some`, because of
https://g…
-
To reproduce, try to compile the following snippet by scalac 2.12.2 with `-Ypartial-unification`.
```scala
import scala.language.higherKinds
sealed abstract class Foo[F[_], A]
case class Bar[F…
-
## Compiler version
3.2.2
## Minimized code
[scastie](https://scastie.scala-lang.org/N9AOprWvT9SmZS9xvIfpCw)
```Scala
enum T[U] {
case G[A ???
}
```
## Output
Warning on match b…
-
Really, Sequential should be defined like this:
```
interface Sequential
of [] | [Element+]
satisfies Iterable ...
interface Empty
satisfies Sequential ...
interface Sequen…
-
The MatrixTypes module could benefit from some documentation, particularly the arguments to the GADT constructors.
-
- differentiate between mutable and constant bindings
- consider using GADTs
- refactor source code to better modularization
-
## Compiler version
3.1.2
## Minimized code
```Scala
import scala.quoted.*
def test(using Quotes) =
def foo[T](e: Expr[T]): T = e match { case '{ 2 + 2 } => 4 }
```
## Output
``…
-
Semantic highlighting would give us a great experience on reading the code. It's been a shame that haskell does not have it for all these times. But now we are going to make it happen for haskell in H…
-
Idea behind `buffet` is to provide a safe interface to manipulate buffer (`string`, `bytes` and `bigstring`). `buffet` has different levels about interface:
* `Buffet0` this is the foundation for t…