-
```
def main(_: Indexable.Idx[a]): Unit with Indexable[a] where Indexable.Idx[a] ~ b = ()
```
```
#
# An unexpected error has been detected by the Flix compiler:
#
# Unexpected associated t…
-
Attempting to compile the following program
```flix
import java.nio.file.Files
import java.nio.file.Paths
def main(): Unit \ IO = {
let path = Paths.get("");
let exists = Files.exists(…
-
In main/src/library/String.flix, if I modify the `split` function from
```
pub def split(regex: {regex = String}, s: String): List[String] = region rc {
import java.lang.String.split(St…
-
I want to experiment with a crazy idea. Maybe only in dev. When you get an error message, it should look like this:
```
❌ -- Resolution Error -------------------------------------------------- fil…
-
```
def example
[b: Eff, c: Eff, a: Eff -> Eff -> Eff]
(x: Unit -> Unit \ a[b, c], y: Unit -> Unit \ b + c)
: Unit = x() |> ???
```
```
Exception in thread "ForkJoinPool-87-worker…
-
```scala
pub def main(): Bool = f(32, 12)
pub def f(x: t, n: Int32): Bool = {
if (n == 0) true else f(x :: Nil, n - 1)
}
```
```
Exception in thread "ForkJoinPool-3-worker-7" java.lang.Ou…
-
### Problem description
Esync doesn't work on hangover-wine with root or w/o root.there is seems to be a Esync patch(it's have some references of glibc though ) for termux .that would be great if w…
-
The following code generates for me an internal error of the compiler.
It works by (1) defining a type BLattice[a] to be used in datalog constraints, then (2) use it at the very end just to produce a…
-
The following program crashes with the following error.
```flix
def main(): Unit & Impure =
let a = Array1.intercalate([11,12,13], []: ScopedArray[ScopedArray[Int32, _], _]);
if (Array.sam…
-
We want to write:
```
import java.util.Deque
def main(): Deque[String] = ???
```
this requires us to treat some Java methods as having type schemes.
Here are some places to start:
htt…