Hi All,

Existing Scheme libraries often represent array-like or matrix-like data
as nested lists or as nested vectors. It's common to see the values

  '((1 2)
    (3 4))

and 

  #'(#(1 2)
      #(3 4))

representing a 2x2 matrix.


In order to use srfi 231 from older code, it would make sense to have functions that convert back and forth between old and new.

If this is a good idea, I suggest the names  lists->array and vectors->array  
or perhaps nested-list->array and nested-vector->array.
As default they construct an array with a generic storage class.

The dimension of the new array is implicitly determined by the input data.
There needs to be a check that the axis sizes are consistent.

/Jens Axel