From cafeb275823b78def39643c13babed9363f792d7 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Tue, 14 Dec 2010 04:15:00 -0500 Subject: [PATCH] cps tweaks Signed-off-by: Jim Pryor --- cps_and_continuation_operators.mdwn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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: -- 2.11.0