[racket] boolean in PLAI
Thank you Matthew & Shriram. I would actually prefer for booleans to be
within S-expression. It seems to be a lot more intuitive for my current
students to have observers to test for a boolean S-expr and to extract a
(Racket) boolean value from an S-expression.
Cheers,
Marco
On Thu, Jan 16, 2014 at 3:30 PM, Matthew Flatt <mflatt at cs.utah.edu> wrote:
> We always spelled it out as `true` and `false` (and, yes, you have to
> check for those before parsing other identifiers).
>
> I wouldn't mind allowing booleans within S-expression, though, if you'd
> like me to add it.
>
> At Thu, 16 Jan 2014 15:26:11 -0500, Marco Morazan wrote:
> > Dear All,
> >
> > In plai-typed, an S-expression cannot be a boolean, correct? How can I
> > parse a boolean? The idea here is to construct a boolean expression when
> a
> > boolean is encountered in the input/
> >
> > --
> >
> > Cheers,
> >
> > Marco
> >
> > Have a´¨)
> > ¸.·´¸.·*´¨) ¸.·*¨)
> > (¸.·´ (¸.·´ * wonderful day! :)
> > ____________________
> > Racket Users list:
> > http://lists.racket-lang.org/users
>
--
Cheers,
Marco
Have a´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´ (¸.·´ * wonderful day! :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20140116/2ed70200/attachment.html>