core: move juxt/every-pred/some-fn to Clojure
Three pure function combinators into the collection tier, as compositions of mapv/every?/some/apply. Three more core-* primitives + table entries gone. Battery 3916 -> 3920 (the canonical defs are more correct than the prior Janet ones — some-fn returns the matching value, every-pred is properly boolean). Conformance 218/218 all modes.
This commit is contained in:
parent
57b8ffcb9b
commit
3638521e2d
3 changed files with 17 additions and 21 deletions
|
|
@ -25,11 +25,10 @@
|
|||
# running thread (Janet OS threads can't be interrupted), so `(deref (future
|
||||
# (sleep 1)))` re-raises the unresolved-`Thread/sleep` error — a documented
|
||||
# platform gap, not a regression in any previously-working behavior.
|
||||
# Raised 3913 -> 3916 with the staged-bootstrap kernel tier: the evaluator now
|
||||
# restores current-ns when a fn throws across a try boundary (a leaked ns used to
|
||||
# break referred-symbol resolution after a caught error), and subvec's index
|
||||
# coercion (NaN/float/ratio) is faithful — net +3.
|
||||
(def baseline-pass 3916)
|
||||
# Raised 3913 -> 3916 with the staged-bootstrap kernel tier (ns-restore-on-throw
|
||||
# + faithful subvec coercion), then 3916 -> 3920 moving juxt/every-pred/some-fn to
|
||||
# Clojure (the canonical defs are more correct than the prior Janet ones).
|
||||
(def baseline-pass 3920)
|
||||
# A file is "clean" when it ran with zero failures AND zero errors.
|
||||
(def baseline-clean-files 45)
|
||||
# Per-file wall-clock budget (seconds). Normal files finish in well under 1s;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue