Closed ninaandrup closed 2 years ago
The example in this paragraph
def sum(x: Int32, y: Int32): Int32 = let _ = Unsafe.println(x); let _ = Unsafe.println(y); x + y
does not work. It looks like there is an unsafePrint in Solver.flix.
unsafePrint
Solver.flix
We have simply remove it. What you can do instead is:
let _ = println("Hello") as & Pure
The example in this paragraph
does not work. It looks like there is an
unsafePrint
inSolver.flix
.