Added monad isntances for List and Maybe.

This commit is contained in:
bringert
2005-11-30 18:57:23 +00:00
parent 8460fbef67
commit 87b5b826ce
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