[racket] formlets and . => .

From: Jordan Schatz (jordan at noionlabs.com)
Date: Thu Nov 17 16:26:09 EST 2011

What does => mean? I see it used in formlets:
>From http://docs.racket-lang.org/web-server/formlets.html?q=formlets


(define date-formlet
   (div "Month:" ,{input-int . => . month}
        "Day:" ,{input-int . => . day})
   (list month day)))

Which I think should be and appears to be equal to:

(define date-formlet
   (div "Month:" ,{=> input-int month}
        "Day:" ,{=> input-int day})
   (list month day)))

But what does the => do? Is it a form of apply?


Posted on the users mailing list.