[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")

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

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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