[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: |
Fri, 23 Jan 2015 04:02:18 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 01/23/2015 03:53 AM, Phillip Lord wrote:
>> This would be easy to implement, since this is just an extension of
>> the `backquote' and `short-lambda' method to 26 reader macros.
>
>
> That would work, but I don't think it's necessary -- if there is a
> compile time lookup, it's just as efficient.
I've found that people who engage in handwringing about efficiency of a
system they don't understand produce terrible code. Try implementing it
before worrying about micro-optimizations.
You're over-thinking the semantics too. The whole point of Stefan's
proposal is that it's very simple, but still delivers most of the
benefits of unrestricted reader macro support. Qualifiers like "by
convention, identifiers would have to restricted..." is a step down the
road to adding overgrown Clojure ceremony for everything, something I
definitely do not want in Emacs Lisp.
signature.asc
Description: OpenPGP digital signature
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, (continued)
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Oleh, 2015/01/22
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Daniel Colascione, 2015/01/22
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Stefan Monnier, 2015/01/22
- Reader macros (Was: Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal), Daniel Colascione, 2015/01/22
- Re: Reader macros, David Kastrup, 2015/01/23
- Re: Reader macros, Daniel Colascione, 2015/01/23
- Re: Reader macros, David Kastrup, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Phillip Lord, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Oleh, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Phillip Lord, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal,
Daniel Colascione <=
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Daniel Colascione, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Phillip Lord, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Stefan Monnier, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Stefan Monnier, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Phillip Lord, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Oleh, 2015/01/23
- Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Stefan Monnier, 2015/01/22
Re: [PATCH] Clojure-like syntactic sugar for an anonymous function literal, Artur Malabarba, 2015/01/22