From 4271fe423115004f8fcf9001d25ba950cdec5fca Mon Sep 17 00:00:00 2001 From: Jay McCarthy Date: Tue, 3 Jan 2012 14:22:23 -0700 Subject: [PATCH] Improve formlet docs a little Clarify that the formlet position is any expression. --- collects/web-server/scribblings/formlets.scrbl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/collects/web-server/scribblings/formlets.scrbl b/collects/web-server/scribblings/formlets.scrbl index 5b418316bb..c303a15d44 100644 --- a/collects/web-server/scribblings/formlets.scrbl +++ b/collects/web-server/scribblings/formlets.scrbl @@ -92,7 +92,12 @@ bindings for these names to @racket[formlet-process], the following list is retu (list 10 6)) ] -The rest of the manual gives the details of @tech{formlet} usage and extension. +In all these examples, we used the @racket[input-int] and +@racket[input-string] formlets. Any value with the @tech{formlet} +contract can be used in these positions. For example, +@racket[(to-string (required (text-input)))] could be used as +well. The rest of the manual gives the details of @tech{formlet} +usage, extension, and existing formlet combinators. @section{Static Syntactic Shorthand}