Add some notes
This commit is contained in:
parent
6162bae1ac
commit
d80d0d0904
4
TODO.md
4
TODO.md
@ -15,6 +15,10 @@ print the generated type variable for every subexpression in an expression
|
|||||||
|
|
||||||
## Schala-lang syntax
|
## 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
|
- 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
|
instead of treating this as a type error, promote the bound variable to an option type
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user