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: David Kastrup
Subject: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal
Date: Thu, 22 Jan 2015 10:17:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

René Kyllingstad <address@hidden> writes:

> On Thursday, January 22, 2015, Daniel Colascione <address@hidden> wrote:
>>
>> On 01/21/2015 01:38 PM, Oleh wrote:
>> > Hi all,
>> >
>> > This is my first attempt of modifying the C source of Emacs.
>> > The goal is to add a new reader syntax:
>> >
>> >     #(foo bar) should translate to (short-lambda (foo bar))
>>
>> Thanks, but I'd strongly prefer not to baking this syntax into the elisp
>> reader. IME, we tend not to use anonymous lambas enough to matter.
>
> This syntax makes anonymous lambdas dramatically more attractive IMHO,
> so I would not use current usage as an argument against it.

Anonymous lambdas become considerably more useful once you have lexical
scoping.  The latter has not been around long enough to have had a major
impact on Elisp programming styles yet.

That does not mean that I am convinced we want or need short-lambda.

-- 
David Kastrup



reply via email to

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