Although I can’t recall off the top of my head any example applications 
that demo non-trivial spec usage, you might be able to find some good 
projects using CrossClj: 
https://crossclj.info/ns/org.clojure/clojure/1.9.0-alpha14/project.clj.html#used.
 
(There’s a good chance that any project that’s using one of the alpha 
releases of Clojure 1.9 is doing so for spec.)

On Friday, December 16, 2016 at 11:59:50 AM UTC-5, Jonathon McKitrick wrote:
>
> I've run into some odd namespace issues with clojure.spec, and I'm sure 
> it's because I'm doing something wrong. I have this in my ns declaration:
>
> [foo.schema :as schema]
>
> However:
>
> foo.main> (s/valid? :foo.schema/email "f...@bar.com <javascript:>")
> true
> foo.main> (s/valid? :schema/email "f...@bar.com <javascript:>")
> Exception Unable to resolve spec: :schema/email  clojure.spec/reg-resolve! 
> (spec.clj:68)
> foo.main> 
>
> It would also be useful if I knew of a non-trival project I could view 
> that uses clojure.spec across namespaces, but without being SO complex that 
> the basics are obscured.
>
> Does anyone know of or have an example?
>
>

-- 
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.

Reply via email to