chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] deprecation of always?, never?, none?


From: Felix
Subject: Re: [Chicken-hackers] deprecation of always?, never?, none?
Date: Mon, 22 Aug 2011 15:59:01 +0200 (CEST)

> 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.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]