[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: constant `e'
From: |
David Kastrup |
Subject: |
Re: constant `e' |
Date: |
Sat, 10 Feb 2007 09:59:50 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Daniel Brockman <address@hidden> writes:
> `natural-logarithm-base'
>
> `circle-circumference-diameter-ratio'
>
> `canonical-true-value'
>
> Seriously, though, I'd really like to see an `otherwise'
> constant (defined to `t', of course). That would make
> catch-all clauses of `cond' look much better.
Disagree, that's an idiom. Anyway, you can do
(cond ((eq x 'yellow) "yellow")
((eq x 'green) "green")
("other"))
and avoid the t altogether. Not that it is prettier to my eyes.
> Please?
There is no point in Elisp diverging from Lisp without more compelling
reasons.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- Re: constant `e', (continued)
Re: constant `e', Kevin Rodgers, 2007/02/10
- Re: constant `e', Stefan Monnier, 2007/02/10
- Re: constant `e', Lennart Borgman (gmail), 2007/02/10
- Re: constant `e', Stefan Monnier, 2007/02/10
- Re: constant `e', Lennart Borgman (gmail), 2007/02/10
- Re: constant `e', Kevin Rodgers, 2007/02/12
- RE: constant `e', Drew Adams, 2007/02/12
Re: constant `e', Daniel Brockman, 2007/02/10
Re: constant `e', Stuart D. Herring, 2007/02/12
Re: constant `e', Daniel Brockman, 2007/02/12
Re: constant `e', David Kastrup, 2007/02/10