core: move not-any?/not-every? to the Clojure overlay (jolt-1j0 phase 2)
First pure-fn migration batch. Both are leaf fns (no internal Janet callers); the Clojure defs (not . some / not . every?) match the prior Janet behavior. Removed the core-* defns and their core-bindings entries. conformance 218/218 x3, clojure-test-suite 3927, core-bench 2340ms vs 2336ms baseline (noise).
This commit is contained in:
parent
6282ef0a39
commit
16cd617bd6
2 changed files with 4 additions and 10 deletions
|
|
@ -61,3 +61,7 @@
|
|||
|
||||
(defn some-fn [& preds]
|
||||
(fn [& xs] (some (fn [p] (some p xs)) preds)))
|
||||
|
||||
(defn not-any? [pred coll] (not (some pred coll)))
|
||||
|
||||
(defn not-every? [pred coll] (not (every? pred coll)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue