X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=topics%2Fweek9_monad_transformers.mdwn;h=6d8b5b74bc953aa7c0285d937e8b2d8158c058cf;hp=ff47d06aa451d71b4e2617ba7065afe1fe0aae7b;hb=b35732e3e34bb499d0b7775b81632d40d7e3876e;hpb=b8d33a363891ba833f805d0032c58dd67274580f diff --git a/topics/week9_monad_transformers.mdwn b/topics/week9_monad_transformers.mdwn index ff47d06a..6d8b5b74 100644 --- a/topics/week9_monad_transformers.mdwn +++ b/topics/week9_monad_transformers.mdwn @@ -151,31 +151,28 @@ When Option is on the inside, on the other hand, as in SO, failure means the who Exception: Failure "bye". --> - + # LL.(run(mid 1 ++ mid 2 >>= fun x -> hoist Monad.List.(mid x ++ mid (10*x) )));; + - : int LL.result = \[[1; 2]; [1; 20]; [10; 2]; [10; 20]]