X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=topics%2Fweek13_native_continuation_operators.mdwn;h=8d64d2e650315a6161894ed576cebf3ae7f88024;hp=ce68d11abff3edc4609e63bba787626c62f13c6d;hb=61eb31f3b8a8495ffd02ece411ad1699fc3e31ef;hpb=1831a2162f0649de36781ff76678ad7167228db6;ds=sidebyside diff --git a/topics/week13_native_continuation_operators.mdwn b/topics/week13_native_continuation_operators.mdwn index ce68d11a..8d64d2e6 100644 --- a/topics/week13_native_continuation_operators.mdwn +++ b/topics/week13_native_continuation_operators.mdwn @@ -146,7 +146,7 @@ Here are some examples of using these different continuation operators. The cont 3.
let p = let/cc k (1,k) in
     let y = snd p (2, ident) in
     (fst p, y)
- In the first line, we bind the continuation function (the bold code) to `k` and then bind the pair of `1` and that function to the variable `p`. + In the first line, we bind the continuation function (the bold code) to `k` and then bind the variable `p` to the pair of `1` and that function. In the second line, we extract the continuation function from the pair `p` and apply it to the argument `(2, ident)`. That results in the following code being run:
let p = (2, ident) in
     let y = snd p (2, ident) in