X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=cps_and_continuation_operators.mdwn;h=4fcf5e02a61cf797d39eb5cc0823b4aefe2d3b89;hp=3b0dda78ffd40b2ad7e4da0ea855c2e388fbc339;hb=cafeb275823b78def39643c13babed9363f792d7;hpb=03ba16641f31f44de7c191480944d46c3341ffd8 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: