Effect annotations #127
Labels
enhancement
New feature or request
good first issue
Good for newcomers
proposal
New ideas that should be discussed, but not necessarily implemented
Expressions can be annotated with types (
e : τ
). It would be useful to annotate them with effects. We have to agree on concrete syntax. I see the two options (I prefer the first one):e : [Eff] Typ
syntax.e : Typ / Eff
.In both cases there is a question how to annotate that the expression is strongly pure (it always terminates). Maybe just by omitting the effect?
The text was updated successfully, but these errors were encountered: