Would it be good to change the namespace for spec from cljs.spec to
clojure.spec? This will make CLJC files nicer to write as you won’t need to
have reader conditionals for requiring cljs.spec in CLJS and clojure.spec
in CLJ.

It seems like spec is going to be used by lots of projects, so the choices
made now will affect lots of code, and be hard to change later.

More generally, what are the guidelines for deciding if a ClojureScript
file gets written as cljs.* or clojure.*?

On Thu, Jun 2, 2016 at 9:19 AM Walter van der Laan <
[email protected]> wrote:

> It's like magic. I added some specs to cljc namespaces and it just works!
>
> I'm making domain specific error messages with just a few lines of code.
> This is a huge leap forward.
>
> Thank you, and all involved, so much.
>
> --
> 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 https://groups.google.com/group/clojurescript.
>
-- 
—
Daniel

-- 
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 https://groups.google.com/group/clojurescript.

Reply via email to