diff --git a/GRIN-Type-System.md b/GRIN-Type-System.md index 9c5404a0..bca74a08 100644 --- a/GRIN-Type-System.md +++ b/GRIN-Type-System.md @@ -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 +```