Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Effect annotations #127

Open
ppolesiuk opened this issue Jun 15, 2024 · 0 comments
Open

Effect annotations #127

ppolesiuk opened this issue Jun 15, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers proposal New ideas that should be discussed, but not necessarily implemented

Comments

@ppolesiuk
Copy link
Member

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):

  1. In order to be consistent with syntax of arrows, we can have e : [Eff] Typ syntax.
  2. We can follow the notations from formal metatheory and syntax of Helium: 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?

@ppolesiuk ppolesiuk added enhancement New feature or request proposal New ideas that should be discussed, but not necessarily implemented labels Jun 15, 2024
@forell forell added the good first issue Good for newcomers label Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers proposal New ideas that should be discussed, but not necessarily implemented
Projects
None yet
Development

No branches or pull requests

2 participants