Would you reject a patch which adds (only) prefix lists to the ns form, or is this a feature you never want to see in ClojureScript?
(Not that I'm going to rush out and write one: just want to know your stance here.) On Friday, February 20, 2015 at 10:51:36 AM UTC-6, David Nolen wrote: > There is no way around this. > > > David > > > On Fri, Feb 20, 2015 at 11:38 AM, Tom Locke <[email protected]> wrote: > > Fair enough. > > > Are there any tips for reducing the size of large ns forms? > > > For example I have a util namespace, and I consider the functions in there > part of my core vocabulary, alongside all the regular core functions and > macros. I don’t want to see them with a namespace prefix in my code. Given > the lack of refer :all, I end up with a long refer list which I frequently > have to maintain. Is there any way around this? > > > Thanks > > > Tom > > > > > > > > On 20 Feb 2015, at 12:57, David Nolen <[email protected]> wrote: > > > > > It's not supported. ClojureScript's ns form is a restrictive subset of the > functionality provided in Clojure. This is a good thing, what's there already > involves an amazing amount of complexity. > > > David > > > On Fri, Feb 20, 2015 at 2:48 AM, Tom Locke <[email protected]> wrote: > Are prefix lists supported in ClojureScript's (ns ...)? > > It seems not, unless I am misunderstanding the syntax. e.g. > > (ns my.namespace (:require (foo [baa baz])) > > should be equivalent to > > (ns my.namespace (:require [foo.baa] [foo.baz]) > > but gives a compiler error "Only :as alias and :refer (names) options > supported in :require" > > Is this expected? > > Thanks > > Tom > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > > > > -- > Note that posts from new members are moderated - please be patient with your > first post. > --- > You received this message because you are subscribed to a topic in the Google > Groups "ClojureScript" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/clojurescript/jWqMeJUYU14/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/clojurescript. > > > > > > > > -- > > Note that posts from new members are moderated - please be patient with your > first post. > > --- > > You received this message because you are subscribed to the Google Groups > "ClojureScript" group. > > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/clojurescript. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
