On Jan 26, 2008 10:05 AM, Darren New <[EMAIL PROTECTED]> wrote:
> Andrew Lentvorski wrote:
> > [EMAIL PROTECTED] wrote:
> >> If I'm not mistaken, what makes a special form to be special is that
> >> evaluation happens abnormally....
> >
> > Why are "and" and "or" special forms yet "not" isn't?
>
> "not" only has one argument, so it always needs to be evaluated.
>
> If or's first value is true or and's first value is false, it doesn't
> matter what the second value is.

Which makes me think... does Scheme have a built-in XOR function?

-- 
Brad Beyenhof                                 http://augmentedfourth.com
The history of popular music is littered with great partnerships.
Rodgers had his Hammerstein, Lennon had his McCartney, and Lloyd Webber
had... his photocopier...                            ~Humphrey Lyttleton

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to