Literals embedded in vector and array datums must type-match with the container
John Cowan 27 Apr 2026 17:57 UTC
I have added some text to the editor's draft of SRFI 268 to specify
that integer arrays must have integer literals, inexact arrays must
have inexact literals, and complex arrays must have complex literals.
SRFIs 4 and 160 are silent on this point; currently, Chicken, Gambit,
and Skint disallow them, whereas Chibi allows things like #f64(1 2)
and #s32(6/3 4/2). I think (and Bradley agrees) that these should be
disallowed.
This is now issue #333 at Codeberg.