Merge branch 'pryor'
[lambda.git] / cps_and_continuation_operators.mdwn
index 430b7b7..72b0034 100644 (file)
@@ -495,9 +495,9 @@ You can make the lambda evaluator perform the required CPS transforms with these
 
 You use these like so:
 
-*      [reset m] is `reset M` where `M` is [m]
-*      [shift k m] is `shift (\k. M)` where `M` is [m]
-*      and [abort m] is `abort M` where `M` is [m]
+*      [reset body] is `reset BODY` where `BODY` is [body]
+*      [shift k body] is `shift (\k. BODY)` where `BODY` is [body]
+*      and [abort value] is `abort VALUE` where `VALUE` is [value]
        
 There are also `reset` and `shift` and `abort` operations in the Continuation monad in our OCaml [[monad library]]. You can check the code for details.