Add note about typestates

This commit is contained in:
Greg Shuflin 2021-12-03 14:23:05 -08:00
parent 1470e7fbdd
commit cbdd247c5c

View File

@ -42,6 +42,7 @@
## Language 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:
```