Improvements to erasure checking, fix to codegen issue

This commit is contained in:
2024-11-29 10:02:45 -08:00
parent 052bab81cb
commit 18e44cb7d3
18 changed files with 581 additions and 233 deletions

View File

@@ -136,8 +136,8 @@ concat a b = a + b
-- Now we define Monad
class Monad (m : U -> U) where
pure : {a} -> a -> m a
bind : {a b} -> m a -> (a -> m b) -> m b
pure : a. a -> m a
bind : a b. m a -> (a -> m b) -> m b
/-
This desugars to: