[plt-scheme] What are "and" and "or" ?

From: Marco Morazan (morazanm at gmail.com)
Date: Fri Feb 15 11:57:19 EST 2008

Dear All,

Are "and" and "or" primitives?

I see the following behavior (v370p1):

> +
#<primitive:+>
> <
#<primitive:<>
> or
or: bad syntax in: or
> and
and: bad syntax in: and
> (and #t #t)
#t
>  (or #f #f)
#f
>

So, why can I not pass and AND or around like + and * ?

Thanks,

Marco


Posted on the users mailing list.