fram-lang / fram-lang/dbl

Concrete syntax for handler types

Open
#286 0 comments 0 reactions 0 assignees View on GitHub
0. parsing
Dominant language
OCaml
Stars
45
Forks
28
PR merge metrics
No merged PRs in 30d

Description

We should extend the parser (and fix the type pretty-printer) to support handler types. We agreed on the following syntax:
```
handler {E} T_cap in [E_in] T_in => [E_out] T_out
```
Optionally, the binder `{E}` and effects can be omitted. Moreover, it would be nice to support the shortened form
```
handler {E} T_cap => [E_out] T_out
```
when `[E_in] T_in` and `[E_out] T_out` are (pairwise) the same.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.