[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] deprecation of always?, never?, none?
From: |
Peter Bex |
Subject: |
Re: [Chicken-hackers] deprecation of always?, never?, none? |
Date: |
Mon, 22 Aug 2011 16:02:48 +0200 |
User-agent: |
Mutt/1.4.2.3i |
On Mon, Aug 22, 2011 at 03:59:01PM +0200, Felix wrote:
> > I don't understand how any? is different.
>
> Like this:
>
> (define (any? x) #t)
>
> (define (none? x) #f) ; DEPRECATED
> (define (always? . _) #t) ; DEPRECATED
> (define (never? . _) #f) ; DEPRECATED
>
> "none?" is sort of weird, since there is no "none" type - every object
> is of some type.
Ah, they're for type checking; I didn't understand that.
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
- [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Peter Bex, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Christian Kellermann, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, John Cowan, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?,
Peter Bex <=
- Re: [Chicken-hackers] deprecation of always?, never?, none?, John Cowan, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Thomas Chust, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Thomas Chust, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/23