Add note about typestates
This commit is contained in:
parent
71911f0ab5
commit
354dd7d8c1
1
TODO.md
1
TODO.md
@ -42,6 +42,7 @@
|
|||||||
## Language Syntax
|
## Language Syntax
|
||||||
|
|
||||||
* the `type` declaration should have some kind of GADT-like syntax
|
* the `type` declaration should have some kind of GADT-like syntax
|
||||||
|
* syntactic sugar for typestates? (cf. https://rustype.github.io/notes/notes/rust-typestate-series/rust-typestate-part-1.html )
|
||||||
* use `let` sigil to indicate a variable in a pattern explicitly:
|
* use `let` sigil to indicate a variable in a pattern explicitly:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user