emacs-devel
[Top][All Lists]
Advanced

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

Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...)))


From: Richard Stallman
Subject: Re: emacs lisp syntax rfc: (cond (EXPR => (lambda (X) ...)))
Date: Wed, 05 Jan 2011 18:36:58 -0500

    I should clarify.  The original proposal should read:

      (cond (EXPR => 1-ARY-FUNC) ...)

It would rarely be useful, so it is not worth adding to Emacs Lisp.

      (cond 
        ((cdr list) => #'car)
        ((car list) => #'car)

That would be possible when the computation to be done
happens to match an existing function.  That was true in my
(artificial) example, but it is rarely true in real life.

-- 
Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org, www.gnu.org



reply via email to

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