feat: close conformance gaps — full atoms/volatiles/delays, quot/rem/mod sign semantics, ~40 core fns (split-at/take-nth/butlast/filterv/mapv/reduced/min-key/etc), sorted-map/set, regex (#"..." reader + PEG engine + re-find/matches/seq + string split/replace), Math statics, ex-info/ex-data/ex-message, namespaced keywords, vary-meta/defonce/macroexpand-1/letfn/doseq; fix doto/assoc-on-vector/frequencies/find/coll?/sort/partition; recursive equality

This commit is contained in:
Yogthos 2026-06-04 15:27:36 -04:00
parent 31d63df133
commit 7ec2fdfa18
6 changed files with 728 additions and 87 deletions

View file

@ -35,26 +35,26 @@
([separator coll] (str-join coll separator)))
(defn replace
[s match replacement]
(str-replace-all match s replacement))
(str-replace-all match replacement s))
(defn replace-first
[s match replacement]
(str-replace match s replacement))
(str-replace match replacement s))
(defn reverse
[s]
(str-reverse-b s))
(defn str-reverse
[s]
(str-reverse-b s))
(defn split
([s re]
(map str-trim (str-split re s)))
(vec (str-split re s)))
([s re limit]
(take limit (split s re))))
(vec (take limit (str-split re s)))))
(defn starts-with?