help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Why is booleanp defined this way?


From: Emanuel Berg
Subject: Re: Why is booleanp defined this way?
Date: Sat, 18 Apr 2015 01:30:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Barry Margolin <address@hidden> writes:

> (booleanp nil) => (nil t)
> (booleanp t) => (t)
> (booleanp something-else) => nil

Really? This is what I get:

    (booleanp nil) ; t
    (booleanp t)   ; t
    (booleanp 1)   ; nil

And they are not lists:

    (listp (booleanp nil)) ; nil
    (listp (booleanp t))   ; nil

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

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