chickadee » generalized-arrays » nested-vector->array

nested-vector->array nested-vector storage-class rankprocedure
nested-list->array nested-list storage-class rankprocedure

Returns a newly allocated array of the storage-class with rank rank whose elements are initialized from the vector nested-vector or list nested-list. It is an error if this argument is not rectangular. As a special case, if rank is 0, the sole element is nested-vector or nested-list, which in that case need not be a Scheme vector/list.