[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A prototype for a binding based approach to proper namespaces
From: |
Helmut Eller |
Subject: |
Re: A prototype for a binding based approach to proper namespaces |
Date: |
Sat, 09 May 2020 20:08:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Sat, May 09 2020, Dmitry Gutov wrote:
> On 09.05.2020 10:38, Helmut Eller wrote:
>> Of course, to be useful it would need a be shorter name or even be a
>> reader macro like #'.
>
> FWIW, Clojure tries to solve this problem by having ` return
> fully-qualified symbols:
> https://stackoverflow.com/questions/17800917/clojure-difference-between-apostrophe-and-backtick
>
> ' returns "unqualified ones", and can be used inside ` forms to create
> "unqualified" elements in there.
Interesting. It's certainly useful to be able to write down lists
etc. that contain many symbols. In Emacs we would probably not change
the existing backquote, but instead use something new like #`.
It seems[1] that in Clojure the symbol is resolved at read-time. I'm
not sure that that is better than resolving it at macroexpand-time or
compile-time.
Helmut
[1] https://clojure.org/reference/reader#syntax-quote
- Re: A prototype for a binding based approach to proper namespaces, (continued)
- Re: A prototype for a binding based approach to proper namespaces, Daniel Colascione, 2020/05/09
- Re: A prototype for a binding based approach to proper namespaces, Vladimir Sedach, 2020/05/10
- Re: A prototype for a binding based approach to proper namespaces, Andrea Corallo, 2020/05/10
- Re: A prototype for a binding based approach to proper namespaces, Vladimir Sedach, 2020/05/10
- Re: A prototype for a binding based approach to proper namespaces, Andrea Corallo, 2020/05/10
Re: A prototype for a binding based approach to proper namespaces, Helmut Eller, 2020/05/09
Re: A prototype for a binding based approach to proper namespaces, Dmitry Gutov, 2020/05/09
Re: A prototype for a binding based approach to proper namespaces, Vladimir Sedach, 2020/05/09