A CASC tuple (CASC.md §6.11) -- (52.52, 13.405). Fixed-arity, frozen,
and deliberately not an Array: the spec requires an implementation
to carry a real tuple type through parsing, merging, and the final
result, since a tuple is never merged element-wise or appended to, only
replaced wholesale (§8.3). Mirrors the Elixir implementation returning a
real Elixir tuple.
JS has no native tuple, so the two-way conversion helpers target the
closest fit, a plain array: toArray() / Tuple.fromArray().
JSON.stringify renders a tuple as an array.
A CASC tuple (CASC.md §6.11) --
(52.52, 13.405). Fixed-arity, frozen, and deliberately not anArray: the spec requires an implementation to carry a real tuple type through parsing, merging, and the final result, since a tuple is never merged element-wise or appended to, only replaced wholesale (§8.3). Mirrors the Elixir implementation returning a real Elixir tuple.JS has no native tuple, so the two-way conversion helpers target the closest fit, a plain array:
toArray()/Tuple.fromArray().JSON.stringifyrenders a tuple as an array.