[::address/street ::address/city ::address/state ::address/zip]
should be
[:address/street :address/city :address/state :address/zip]
note the extraneous colon.
Best,
Brent
--
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/6cb58e55-68bc-4a45-8ff6-428af333245e%40googlegroups.com.
Either would be correct as an example. The requirement is that it's a qualified keyword referring to a registered spec. The example doesn't declare them so there's no way for it to be "wrong". Both ::address/street and :address/street will create qualified keywords.
On Thu, Apr 16, 2020 at 3:49 PM Brent Millare <brent....@gmail.com> wrote:
At the spec2 wiki https://github.com/clojure/spec-alpha2/wiki/Schema-and-select--the line:
[::address/street ::address/city ::address/state ::address/zip]
should be
[:address/street :address/city :address/state :address/zip]
note the extraneous colon.
Best,
Brent
You received this message because you are subscribed to the Google Groups "Clojure Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cloju...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/f6db93ed-5892-438a-a4b4-a9d07855d788%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/ab4cf7c2-24cb-497c-a96b-76631c8b26d9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/f6db93ed-5892-438a-a4b4-a9d07855d788%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to clojure-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/7b212f67-3f90-4241-acb1-9baced319536%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure-dev/7b212f67-3f90-4241-acb1-9baced319536%40googlegroups.com.