From: Jim Pryor Date: Tue, 14 Dec 2010 09:15:00 +0000 (-0500) Subject: cps tweaks X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=cafeb275823b78def39643c13babed9363f792d7 cps tweaks Signed-off-by: Jim Pryor --- diff --git a/cps_and_continuation_operators.mdwn b/cps_and_continuation_operators.mdwn index 3b0dda78..4fcf5e02 100644 --- a/cps_and_continuation_operators.mdwn +++ b/cps_and_continuation_operators.mdwn @@ -432,8 +432,9 @@ Example 2: # Continuation_monad.(run0( reset ( abort 1 >>= fun i -> - unit (10+i)) >>= fun j -> - unit (100+j)));; + unit (10+i) + ) >>= fun j -> + unit (100+j)));; - : int = 101 Example 3: