Add some notes

This commit is contained in:
greg 2019-05-26 00:23:54 -07:00
parent 6162bae1ac
commit d80d0d0904
1 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,10 @@ print the generated type variable for every subexpression in an expression
## Schala-lang syntax
-idea: the `type` declaration should have some kind of GADT-like syntax
-idea: I should make the BNF grammar part of the documentation...
- Idea: if you have a pattern-match where one variant has a variable and the other lacks it
instead of treating this as a type error, promote the bound variable to an option type