-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Proposed syntax ala Ocaml:
type <variant> =
<Tag> [ of <type> [* <type>]... ]
| <Tag> [ of <type> [* <type>]... ]
| ...
Examples.
type weight = Regular | Bold
type action =
Focus
| Edit of string
| Cancel
| Commit
| Completed of bool
| Delete
This is a major change as this also involves adding a type system to the language.
Reactions are currently unavailable