[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] DBI
From: |
Graham Fawcett |
Subject: |
Re: [Chicken-users] DBI |
Date: |
Wed, 27 Feb 2008 16:23:37 -0500 |
On Wed, Feb 27, 2008 at 4:04 PM, Peter Bex <address@hidden> wrote:
> > I've tended to let null be '(), but that partly comes from liking the
> > look of
> > (null? (alist-ref 'field result)) I'm not entirely comfortable with
> > leaving the
> > value entirely absent simply because the mapping I mention to value
> > lists and vectors becomes more problematic. That said, my usage of
> > value lists and vectors is limited enough that I'm not that tied to it
> > either.
>
> Can you even check for void? Afaik there's no VOID? procedure.
You can; just compare with another (void) value:
(define void? (cute eq? (void) <>))
Graham
- [Chicken-users] DBI, Ozzi Lee, 2008/02/27
- Re: [Chicken-users] DBI, John Cowan, 2008/02/27
- Re: [Chicken-users] DBI, Ozzi Lee, 2008/02/27
- Re: [Chicken-users] DBI, Jeremy Sydik, 2008/02/27
- void as a return value (Re: [Chicken-users] DBI), Vincent Manis, 2008/02/27
- Re: void as a return value (Re: [Chicken-users] DBI), Ozzi, 2008/02/27
- Re: void as a return value (Re: [Chicken-users] DBI), John Cowan, 2008/02/27
- Re: void as a return value (Re: [Chicken-users] DBI), Vincent Manis, 2008/02/27
- Re: [Chicken-users] DBI, John Cowan, 2008/02/27
- Re: [Chicken-users] DBI, felix winkelmann, 2008/02/28
- Re: [Chicken-users] DBI, Graham Fawcett, 2008/02/28