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

[dfried%indiana.csnet: boolean?]



I have thought of suggesting the following feature, which T has and
which is nice to have occasionally, and is pleasantly symmetrical with
the other type predicates like NUMBER?, SYMBOL?, PAIR?, etc.  I haven't
suggested it so far because of its marginal usefulness, but would be
happy to put it in if other people think it's a good idea.  Opinions?

(Dan, I assume you meant #t instead of $t.)

- Jonathan

Date: Sun, 30 Mar 86 11:49:51 est
From: Dan Friedman <dfried%indiana.csnet at CSNET-RELAY.ARPA>
To:   jar at mc.lcs.mit.edu
Re:   boolean?

If # is used in the first position of the true and false
value, might I suggest the existence of a predicate
boolean?   This predicate returns #t if its single argument
is #t or #f.

Dan