map? treated ANY struct as a map, so (map? 'sym), (map? \a), and (map? (random-uuid)) were all true; coll? had the same wart. Meanwhile both were FALSE for sorted maps (and coll? for sorted sets and records), which are collections in Clojure. Now: a map is a plain struct literal, a phm, a sorted map, or a record; coll? additionally includes sorted sets. Tagged structs (anything with :jolt/type) are values. The loose-map? dependents (destructure's clause ordering, defn's attr-map guard) already guarded with symbol? first, so nothing relied on the wart — full gate green, and the suite gained: 4074 -> 4081 pass / 72 clean files (map_qmark/coll_qmark assertions now correct); baselines raised. 22 new strictness spec cases. |
||
|---|---|---|
| .. | ||
| bench | ||
| clojure-stdlib/clojure | ||
| integration | ||
| spec | ||
| support | ||
| unit | ||