add type system note

This commit is contained in:
Csaba Hruska 2018-02-15 09:48:46 +01:00
parent 689b82d73d
commit 53a88b3730

View File

@ -72,3 +72,15 @@ eval q =
update q w
pure w
```
# Notes
A builtin dependent type function should be enough for full GRIN expressivity.
```
prj :: Tag -> Int -> a
```
OR
```
prjNode :: {Node A, ..., Node Z} -> Tag -> Node Tag
prjItem :: Node Tag -> Int -> a
```