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 <t...@tomlocke.com> 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 clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to