From: jim Date: Wed, 8 Apr 2015 03:59:40 +0000 (-0400) Subject: now ++ is working in wrappers X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=b35732e3e34bb499d0b7775b81632d40d7e3876e now ++ is working in wrappers --- 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]]