[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: predicates
From: |
Emanuel Berg |
Subject: |
Re: predicates |
Date: |
Fri, 27 Nov 2015 20:52:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
"Pascal J. Bourguignon" <pjb@informatimago.com>
writes:
> One notable predicate that returns something useful
> not obtainable otherwise, is:
>
> (digit-char-p ?4) --> 4
>
> You could use:
>
> (ignore-errors (parse-integer (string ?4))) --> 4
>
> but parse-integer uses digit-char-p which is the
> more fundamental operation.
And this is what I love with Lisp. There is an endless
world to (re)discover. As soon as you reach one level,
you realize there is another which you didn't
know existed.
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: How to test if the current line contains only white-spache?, (continued)
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/19
- Re: How to test if the current line contains only white-space?, Emanuel Berg, 2015/11/20
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/20
- Re: How to test if the current line contains only white-space?, Emanuel Berg, 2015/11/23
- Message not available
- Re: How to test if the current line contains only white-space?, Rolf Ade, 2015/11/20
- Re: How to test if the current line contains only white-spache?, Alex Bennée, 2015/11/26
- predicates (was: Re: How to test if the current line contains only white-spache?), Emanuel Berg, 2015/11/26
- Message not available
- Re: predicates, Pascal J. Bourguignon, 2015/11/26
- Re: predicates,
Emanuel Berg <=
Re: How to test if the current line contains only white-spache?, Yuri Khan, 2015/11/16
Re: How to test if the current line contains only white-spache?, John Mastro, 2015/11/16
Re: How to test if the current line contains only white-spache?, Nicolas Richard, 2015/11/25
Message not available