[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is booleanp defined this way?
From: |
Stefan Monnier |
Subject: |
Re: Why is booleanp defined this way? |
Date: |
Sat, 18 Apr 2015 01:03:23 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> Elisp does not have a proper boolean type; unlike say symbols with
>> symbolp, strings with stringp, numberp -- some union of numeric types etc.
>> However programmers need boolean in their ontology even if (and even more if)
>> the language does not support it.
> Well, if you go this way, elisp doesn't have proper types at all!!!
I think he was alluding to the difference between the types that
`typeof' might recognize and those that are more like unions of other types.
> deftype, typep, subtypep are all defined in cl.el and as such, "frowned
> upon" by the PTB.
cl-deftype, cl-typep, ... are alive and well and not frowned upon.
Stefan
- Re: Why is booleanp defined this way?, (continued)
- Re: Why is booleanp defined this way?, Emanuel Berg, 2015/04/19
- Re: Why is booleanp defined this way?, Emanuel Berg, 2015/04/18
- Re: Why is booleanp defined this way?, Marcin Borkowski, 2015/04/18
- Message not available
- Re: Why is booleanp defined this way?, Rusi, 2015/04/18
- Re: Why is booleanp defined this way?, Pascal J. Bourguignon, 2015/04/18
- Re: Why is booleanp defined this way?, Rusi, 2015/04/18
Re: Why is booleanp defined this way?, Pascal J. Bourguignon, 2015/04/18
- Re: Why is booleanp defined this way?,
Stefan Monnier <=