Using SRFI 231's list*->array in build-array
Bradley Lucier 09 Nov 2026 01:23 UTC
The procedure read-array in srfi/268/read.sld uses build-array, which
comments
;; Returns a new array built from the given components. We
;; have to use 'list->array' (which takes a flat list) because
;; 'list*->array' does not take an interval argument.
An alternative approach might be to use list*->array, which makes all
the lower bounds 0, and then translating the result to have the correct
lower bounds. This might simplify the sample implementation a bit.
Brad