working. checkpoint before messing with parser

This commit is contained in:
2024-06-25 13:27:11 -07:00
parent a9c72d5a6d
commit 968327cdb3
8 changed files with 171 additions and 32 deletions

View File

@@ -8,4 +8,12 @@ id = \ a => \ x => x
-- errors aren't cutting to the top
-- I think we need the errors to be fatal if anything is consumed (since the nearest alt)
foo
List : U -> U
List = \ A => (L : U) -> L -> (A -> L -> L) -> L
-- need more sugar for lambdas
nil : (A : U) -> (L : U) -> L -> (A -> L -> L) -> L
nil = \ A => \ L => \ n => \ f => n
Bool : U