From 2d375a7d29d3acc42bd83adff5bee828ad7b2519 Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Tue, 19 Apr 2011 07:16:10 -0600 Subject: [PATCH] doc corrections Closes PR 11865 Merge to 5.1.1 (cherry picked from commit 18e3f54fa5ce2695234aced0db675c5018afbb2e) --- collects/scribblings/guide/control.scrbl | 6 +++--- collects/scribblings/reference/cont.scrbl | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/collects/scribblings/guide/control.scrbl b/collects/scribblings/guide/control.scrbl index 32d1b85bcc..ebaad462f7 100644 --- a/collects/scribblings/guide/control.scrbl +++ b/collects/scribblings/guide/control.scrbl @@ -245,12 +245,12 @@ the continuation in @racket[saved-k] becomes @racket[(lambda (x) (+ 5 (saved-k 10) ] -A more traditional continuation operator in Racket is -@racket[call-with-current-continuation], which is often abbreviated +A more traditional continuation operator in Racket (or Scheme) is +@racket[call-with-current-continuation], which is usually abbreviated @racket[call/cc]. It is like @racket[call-with-composable-continuation], but applying the captured continuation first @tech{aborts} (to the current @tech{prompt}) before -restoring the saved continuation. In addition, Racket systems +restoring the saved continuation. In addition, Scheme systems traditionally support a single prompt at the program start, instead of allowing new prompts via @racket[call-with-continuation-prompt]. Continuations as in Racket diff --git a/collects/scribblings/reference/cont.scrbl b/collects/scribblings/reference/cont.scrbl index cdbcddc0ed..231bf29011 100644 --- a/collects/scribblings/reference/cont.scrbl +++ b/collects/scribblings/reference/cont.scrbl @@ -36,8 +36,7 @@ evaluation context protected by the barrier: ] In addition, extensions of Racket may install barriers in -additional contexts. In particular, GRacket installs a continuation -barrier around most every callback. Finally, +additional contexts. Finally, @racket[call-with-continuation-barrier] applies a thunk barrier between the application and the current continuation.