This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: proposed changes to handling of false and end-of-list


On Jul 18, 2013, at 8:36 PM, I wrote:

>> * (if (values) 'true 'false)
>> 
>> FALSE

Also, R6RS and the R7RS WG1 draft say we're free to release the nasal
demons for (values) in a 1-value context:

"The effect of passing no value or more than one value to
continuations that were not created by call-with-values is
unspecified."

(N.B. Guile and MIT Scheme treat it as true, Racket treats it as an
error.  I haven't tested any other implementations.)


[But there's still the craziness that NIL in Common Lisp is not only
() and #f and #!null and #!void, it's also a _symbol_, namely 'NIL.]


--
Jamison Hope
The PTR Group
www.theptrgroup.com




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]