Jonathan Lindegaard Starup
Jonathan Lindegaard Starup
I do agree that Ref do feel really quite bad to use after the change, but not sure what do about it
I support this - I use `???()` anyway, which have the same behaviour as this `???`
> It was disabled for performance reasons. Not sure if those issues are fixed yet. is `???` used that often? one var per `???` doesn't seem that bad
I vote yes
hmm. we could also embrace `do Console.println` and take advantage of that to have both the effect operation and the function
This is not completed?
Points is that `println(x: t): Unit with ToString[t]` is nicer than `Console.println(x: String): Unit` https://github.com/flix/flix/blob/9746522bd1efda056b4274cac2c29343bac6d48c/main/src/library/Console.flix#L37-L40 And its easy to fix, except for the naming of the base `println(String)` and the...
They cannot be named the same since they would be ambigous yes, but they can be called two different things.
> Reuse of objects is not thread-safe, right? It is per call-site and If needed, you copy to avoid sharing. At worst that is that the same amount of allocations...
the actual representation is whatever, i just think we should code with that kind of interface instead of comparing integers