From 2b173612e6a50b972442e719b84f025f50928d16 Mon Sep 17 00:00:00 2001 From: Asumu Takikawa Date: Mon, 23 Jul 2012 15:04:07 -0400 Subject: [PATCH] Fix guide description of `when` Closes PR 12445 Merge to v5.3 --- collects/scribblings/guide/begin.scrbl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/collects/scribblings/guide/begin.scrbl b/collects/scribblings/guide/begin.scrbl index b0883215cd..e94932c37f 100644 --- a/collects/scribblings/guide/begin.scrbl +++ b/collects/scribblings/guide/begin.scrbl @@ -101,8 +101,10 @@ sequencing for the ``then'' clause and no ``else'' clause: @specform[(when test-expr then-expr ...)] If @racket[_test-expr] produces a true value, then all of the -@racket[_then-expr]s are evaluated. Otherwise, no @racket[_then-expr]s -are evaluated. The result is @|void-const| in any case. +@racket[_then-expr]s are evaluated. The result of the last +@racket[_then-expr] is the result of the @racket[when] form. +Otherwise, no @racket[_then-expr]s are evaluated and the +result is @|void-const|. The @racket[unless] form is similar: