X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=cps_and_continuation_operators.mdwn;fp=cps_and_continuation_operators.mdwn;h=430b7b7526f0e02d2d1956f2fda5ed9074942f1b;hp=6d98f64501b327154775accb0b3cb17d04e9d65b;hb=bae0fec9fbcf61e30af4d7c64948b87075db629a;hpb=b37134816a0aab587f428301f705777b4ed7f3ee diff --git a/cps_and_continuation_operators.mdwn b/cps_and_continuation_operators.mdwn index 6d98f645..430b7b75 100644 --- a/cps_and_continuation_operators.mdwn +++ b/cps_and_continuation_operators.mdwn @@ -496,8 +496,8 @@ 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] +* [shift k m] is `shift (\k. M)` where `M` is [m] +* and [abort m] is `abort M` where `M` is [m] 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.