I would love if this happened; it could probably be implemented in a
backwardly compatible way, since you're currently not supposed to use
or require clojure.core anyway, as far as I know.

On May 5, 8:36 am, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> Hello,
>
> After thinking twice about it, ns does 2 special things for clojure.core 
> today:
> 1. if no mention of clojure.core (indirectly via refer-clojure),
> consider that clojure.core must entirely be 'use d in the namespace
> 2. if refer-clojure is used, bypass 1. and do whatever is in refer-clojure
>
> what about getting rid of refer-clojure in 'ns (or probably deprecating it).
> 1. if no mention of clojure.core (via require or use), consider that
> clojure.core must entirely be 'use d in the namespace
> 2. if clojure.core is 'use d or 'refer ed, bypass 1.
>
> Bonus for the user:
>   * one less special case to handle (no need to remember refer-clojure)
>   * same suppleness as with refer-clojure, with the extra-bonus of
> being able to requiring clojure.core (think of namespaces dedicated to
> dsls where you will want to provide only certain clojure.core vars to
> dsl users, and/or make it clear that the user is not using dsl
> "primitives" but clojure "primitives" by requiring clojure.core :as
> core etc.)
>
> What do you think about that ?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to