emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Clojure-like syntactic sugar for an anonymous function liter


From: Leo Liu
Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal
Date: Fri, 23 Jan 2015 08:54:47 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (OS X 10.10.1)

On 2015-01-22 17:38 +0800, Daniel Colascione wrote:
> With idiomatic elisp, it's
>
>   (mapcar (lambda (x) (* x x)) '(1 2 3))
>
> Both alternatives above are more esoteric than the lambda form and are
> approximately as wrong.  Note how the "lambda" is a prominent "I AM A
> FUNCTION" signal.  I don't like the shorter forms, won't use them in my
> code, and wouldn't rely on calling packages. I don't want to change the
> Emacs reader to support this syntax.

I must agree with this point. Code is written often once and read many
many times for many decades in emacs. Clojure's syntax is noisier than
most lisps we love.

Leo




reply via email to

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