[racket] Racket style question
On Wed, Mar 21, 2012 at 18:37, Joe Gilray <jgilray at gmail.com> wrote:
> Hi Rodolfo,
>
> In this case though, printf will never return #f so "and" is equivalent to
> "begin", right?
>
The docs says it returns "void", and that is not #f.
So (and (printf ...) (something-else)) is equivalent to (begin (printf ...)
(something-else)).
Note that if you put a third thing inside (and ...) or (begin ...), the
behavior will depend on "something-else".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120321/80124f9a/attachment.html>