FWIW list*->array and vector*->array are defined here:

https://github.com/racket/math/blob/master/math-lib/math/private/array/untyped-array-convert.rkt

Den tor. 20. jan. 2022 kl. 16.54 skrev Bradley Lucier <xxxxxx@math.purdue.edu>:
On 1/19/22 6:25 PM, John Cowan wrote:
> That works for vectors, but not lists, because '(foo) is the perfectly
> good list (quote (foo)).  It smacks of guessing, and I dislike guessing
> in Scheme code.

And, in fact, it appears that the notation does not allow for nested lists.

I mention Racket's math/array in these emails only to say what another
important array package does that might offer good ideas.  I'm not an
expert.

Brad


--
--
Jens Axel Søgaard