Subject: Re: I'm stuck: composition of functions
From: (Rob Warnock)
Date: 1996/11/03
Newsgroups: comp.lang.scheme
Message-ID: <55gq93$>

J.J.A. Koot <> wrote:
| As far as I know: (if '() 'a 'b) ==> b

IEEE Scheme requires (if '() 'a 'b) ==> a

But in R4RS it says, "It is no longer specified whether the empty list
counts as true of false in conditional expressions." (But they then
implicitly [to my reading] encourage "true" by reminding the reader
about IEEE Scheme.)

In any case, implementations do vary, so using "null?" is always the
safest thing.


Rob Warnock, 7L-551
Silicon Graphics, Inc.
2011 N. Shoreline Blvd.		Phone: 415-933-1673  FAX: 415-933-0979
Mountain View, CA  94043	PP-ASEL-IA