[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Clojure-like syntactic sugar for an anonymous function liter
From: |
Daniel Colascione |
Subject: |
Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal |
Date: |
Wed, 21 Jan 2015 17:29:13 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
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.
Clojure is idiomatically pure-functional; we're not.
I'd be more receptive to a generalized, CL-style reader-macro facility.
You could then use that to implement this syntax, but locally.
signature.asc
Description: OpenPGP digital signature
Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal,
Daniel Colascione <=
Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, René Kyllingstad, 2015/01/22