Re: [racket-users] Hidden formlet example.

2015-09-21 Thread 'Richard Adler' via Racket Users
Tried: (formlet ; Rendering (#%# ,{(to-string (required (hidden "<30 25 11>"))) . => . state} ,{time-formlet . => . hms}) ; Processing (list state hms and it worked, thanks Jay. On 9/21/15, Jay McCarthy wrote: > The return type of hidden is > > (formlet/c (or/c false/c binding?))

Re: [racket-users] Hidden formlet example.

2015-09-21 Thread Jay McCarthy
The return type of hidden is (formlet/c (or/c false/c binding?)) So you are getting a binding out. You probably want (to-string (required (hidden ))) Jay On Mon, Sep 21, 2015 at 2:19 PM, Richard Adler wrote: > > Hello > > Could somebody provide an example of how to use a hidden formlet? >

[racket-users] Hidden formlet example.

2015-09-21 Thread Richard Adler
Hello Could somebody provide an example of how to use a hidden formlet? I tried the following: (formlet ; Rendering (#%# ,{(hidden "<30 25 11>") . => . state} ,{time-formlet . => . hms}) ; Processing (list state hms I thought I would get (list "<30 25 11>" (list hours mins