Skip to content
This repository was archived by the owner on Sep 15, 2026. It is now read-only.

v0.100.34

Choose a tag to compare

@github-actions github-actions released this 09 May 07:48
· 2021 commits to main since this release
Add aset for host arrays; tighten vec bad-shape rejection

aset on MINO_HOST_ARRAY mutates vals[i] in place. This is the
only mutation path outside MINO_ATOM / MINO_VOLATILE; it exists
because the host-array tier mirrors JVM array semantics.

seq_iter_init / done / val now handle MINO_HOST_ARRAY and
MINO_MAP_ENTRY so into / mapv / etc. iterate uniformly.

vec in src/core.clj rejects bad shapes (numbers, booleans, chars,
keywords, symbols, regexes, transients) up front.

vec.cljc 13/15 errors -> 19/20. The remaining failure is the
(aset arr 0 -1) (= [-1 2 3] (vec arr)) storage-aliasing
assertion -- JVM's LazilyPersistentVector.createOwning reuses
small Object[] arrays as the persistent vector's tail, which is
incompatible with mino's persistent-trie vec that genuinely
copies its input. JVM-internal optimization, not portable.

Internal 1476 / 7091 / 0.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>