Hi
According to documentation of clojure.spec/from, it should return data not
object. But when I try for every-kv, it is returning object.
(s/form (s/every-kv keyword? int?))
=>
(clojure.spec/every
(clojure.spec/tuple keyword? int?)
:into
{}
:clojure.spec/kind-form
nil
:clojure.spec/kfn
#object[t.spec$eval5492$fn__5493 0x1d39ed6f
"t.spec$eval5492$fn__5493@1d39ed6f"])
But for other it looks ok
(s/form (s/coll-of keyword? ))
=>
(clojure.spec/every keyword? :clojure.spec/kind-form nil
:clojure.spec/conform-all true)
(s/form (s/alt :i int? :s string?))
=>
(clojure.spec/alt :i clojure.core/int? :s clojure.core/string?)
Clojure version: [org.clojure/clojure "1.9.0-alpha10"]
Br,
Mamun
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.