working. checkpoint before messing with parser
This commit is contained in:
10
eg/ex.newt
10
eg/ex.newt
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user