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 < waltervanderl...@fincite.nl> 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 clojurescript+unsubscr...@googlegroups.com. > To post to this group, send email to clojurescr...@googlegroups.com. > Visit this group at https://groups.google.com/group/clojurescript. > -- — Daniel -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.