wip
This commit is contained in:
parent
87d83bf95f
commit
76f96ab5b1
1 changed files with 112 additions and 109 deletions
|
|
@ -329,8 +329,11 @@
|
|||
(defn res [form]
|
||||
(cond
|
||||
(keyword? form) form
|
||||
(symbol? form) (c/or
|
||||
(-> form sci-resolve ->sym) form)
|
||||
(symbol? form) (cond
|
||||
(= 'fn form) 'clojure.core/fn ;; make tests pass, fn is not a macro in SCI
|
||||
(= 'not form) 'clojure.core/not ;; make tests pass, not is not a macro in SCI
|
||||
:else (c/or
|
||||
(-> form sci-resolve ->sym) form))
|
||||
(sequential? form) (walk/postwalk #(if (symbol? %) (res %) %) (unfn form))
|
||||
:else form))
|
||||
|
||||
|
|
@ -563,7 +566,7 @@
|
|||
returns a test.check generator
|
||||
|
||||
See also - coll-of, every-kv
|
||||
"
|
||||
"
|
||||
[pred & {:keys [into kind count max-count min-count distinct gen-max gen] :as opts}]
|
||||
(let [desc (:clojure.spec.alpha/describe opts)
|
||||
nopts (-> opts
|
||||
|
|
|
|||
Loading…
Reference in a new issue