Added monad isntances for List and Maybe.

This commit is contained in:
bringert
2005-11-30 18:57:23 +00:00
parent 12ca29b32b
commit d92a26fc9b
3 changed files with 30 additions and 4 deletions

View File

@@ -327,4 +327,3 @@ return _ d = d.return
bind : (M : Type -> Type) -> Monad M
-> (A : Type) -> (B : Type) -> M A -> (A -> M B) -> M B
bind _ d = d.bind