On Wed, Mar 21, 2012 at 18:37, Joe Gilray <jgil...@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".
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to