Graham Fawcett scripsit:

> >  (define sql-null (new-immediate-value))
> >
> >  (define (sql-null? x) (eq? x sql-null))
> 
> I think that, to work well, we'd have to define it statically, so that
> all libraries using (sql-null) would have the same immediate value.
> E.g.
> 
> #>!
> static C_word sql_null = ((C_word) ((C_word)(C_SPECIAL_BITS | 0x00000040)));
> <#

I agree, and I'd be happy to see such a new object.  I'd like not to have
"sql" in the name, though, so that it can be used by interfaces to other
languages as well (Lua nil, Java null, etc.)

-- 
If you have ever wondered if you are in hell,         John Cowan
it has been said, then you are on a well-traveled     http://www.ccil.org/~cowan
road of spiritual inquiry.  If you are absolutely     [EMAIL PROTECTED]
sure you are in hell, however, then you must be
on the Cross Bronx Expressway.          --Alan Feuer, NYTimes, 2002-09-20


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to