Peter Bex scripsit:

> That sounds rather brittle.  Afaik "void" is defined as "no value".

On Chicken, which is what we are talking about, it's a specific immediate
value, like #t, #f, or ().  A number of eggs already depend on this;
for example, it's the Chicken equivalent of Lua's nil, and is used
for SQL NULL on some but not all existing database eggs.

> One possible and plausible implementation of VOID is this:
> 
> (define (void) (values))

That happens to deliver the void value on Chicken as well; on some
Schemes it's an error (attempt to deliver other than one value to a
"normal" continuation).

-- 
John Cowan  [EMAIL PROTECTED]  http://ccil.org/~cowan
Linguistics is arguably the most hotly contested property in the academic
realm. It is soaked with the blood of poets, theologians, philosophers,
philologists, psychologists, biologists and neurologists, along with
whatever blood can be got out of grammarians. - Russ Rymer


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to