Improvements to erasure checking, fix to codegen issue
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user