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

From: Marco Morazan (morazanm at gmail.com)
Date: Fri Feb 15 13:43:20 EST 2008

Hi Carl,

Yes, I understand exactly what you have stated. I had students
complain that they could not pass "and" and "or" around. From a
padagogical viewpoint it is a little awkward to tell young newcomers
that "and" and "or" are not primitives.

Cheers,

Marco


On Fri, Feb 15, 2008 at 1:36 PM, Carl Eastlund <cce at ccs.neu.edu> wrote:
> Well, that depends on whether you consider (lambda (a b) (and a b)) to
> be "hiding behind the scenes".  You can easily write that (probably
> using the define shorthand) and let students compare it to the macro
> version.  I hope that helps.
>
> --Carl
>
>
> On Fri, Feb 15, 2008 at 1:21 PM, Marco Morazan <morazanm at gmail.com> wrote:
> > Thank you for the responses. I was wondering if there existed "and" or
> >  "or" primitives that evaluated all its arguments hidden somewhere
> >  behind the scenes. There is not which makes it a bit tricky to explain
> >  to new CS students why "and" and "or" can not be passed around.
> >
> >  Cheers,
> >
> >  Marco
>


Posted on the users mailing list.