Mercurial > repo
changeset 1446:7b3d2f515be7
<GreyKnight> echo "Actually, programming monads is much like cattle driving!" >> wisdom/monad-tutorials
author | HackBot |
---|---|
date | Sat, 12 Jan 2013 01:12:07 +0000 |
parents | d51f808451cf |
children | 4ec67081254d |
files | wisdom/monad-tutorials |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/wisdom/monad-tutorials Sat Jan 12 01:09:39 2013 +0000 +++ b/wisdom/monad-tutorials Sat Jan 12 01:12:07 2013 +0000 @@ -6,3 +6,4 @@ Monads are like when you and a friend are trying to have a conversation about a mutual friend. Monads are like overloading the semicolon. class Monad m where ; (>>=) :: forall a b. m a -> (a -> m b) -> m b ; (>>) :: forall a b. m a -> m b -> m b ; return :: a -> m a ; fail :: String -> m a +Actually, programming monads is much like cattle driving!