Open JonathanStarup opened 1 week ago
IMO Standard library just needs to be in the Flix namespace. (Same with packages -- they should be qualified with something)
I like that approach. It is however a bit taxing since you cant do use flix._
and we don't have editor support for uses :L
I like that approach. It is however a bit taxing since you cant do
use flix._
and we don't have editor support for uses :L
Sounds like we should get editor support for uses :D
If i write this
What
Random
am I speaking about, specifically? It can beRandom
orCurrent.Namespace.Random
.This is annoying if, e.g., I am implementing
eff Random
and want to have a handler using the existingRandom
Proposal
Allow prefix
.
when specifying names, that means that I can writehandler(f: a -> b \ ef, r: .Random): (a -> b \ ef - Random) \ IO = ...
. The feature is that.Random
always refer to the root random, not the current random.We don't use
.
much in Flix so I don't think parsing would be an issue