[racket] Is this a bug? [Documentation: Formlets]
It's a typo. It should be
(text-input)
Jay
2011/7/5 Daniil <eraserfingers at gmail.com>:
> Hello, I was skimming through formlets documentation today
> <http://docs.racket-lang.org/web-server/formlets.html>
> and I noticed that some examples won't run on my DrRacket (5.1.1). For
> example, this one:
>
>> (formlet* `(div ,@(for/list ([i (in-range 1 10)])
>> `(p ,(number->string i)
>> ,(text-input . =>* . name))))
>> name)
>
> It gave me the following error: http://pastebay.com/131051
>
> However, if I change `text-input' to `input-string' it works fine and
> generates expected xexpr.
>
> Is this a bug or I am not understanding something?
>
> Thanks in advance and pardon my English.
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93