From c7126ae628ab4a78c315bc728705f4557e315da5 Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Wed, 6 Jul 2011 15:24:15 -0600 Subject: [PATCH] Typo in formlet docs --- collects/web-server/scribblings/formlets.scrbl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/collects/web-server/scribblings/formlets.scrbl b/collects/web-server/scribblings/formlets.scrbl index e36e23e876..c9fdb22173 100644 --- a/collects/web-server/scribblings/formlets.scrbl +++ b/collects/web-server/scribblings/formlets.scrbl @@ -164,7 +164,7 @@ to be @emph{syntactically} an @|xexpr|. You may discover you want to use a more @racketblock[ (formlet* `(div ,@(for/list ([i (in-range 1 10)]) `(p ,(number->string i) - ,(text-input . =>* . name)))) + ,((text-input) . =>* . name)))) name) ] @racket[name] is bound to a list of strings, not a single string, where the first element is the string that @@ -173,7 +173,7 @@ to be @emph{syntactically} an @|xexpr|. You may discover you want to use a more In this example, it is clear that this is the desired behavior. However, sometimes the value of a formlet's result may be surprising. For example, in @racketblock[ - (formlet* `(div (p ,(text-input . =>* . name))) + (formlet* `(div (p ,((text-input) . =>* . name))) name) ] @racket[name] is bound to a list of strings, because @racket[formlet*] cannot syntactically determine if