array-dimensions
array-dimensions array → dimensions
array—an array.
Barmar observes that nothing requires the implementation to enforce ARRAY-DIMENSION-LIMIT. It's a requirement on the user to be prepared to lose if he exceeds it, but it is not a requirement on the implementation to make him lose in that case.dimensions—a list of integers.
17.3.0 8Returns a list of the dimensions of array. (If array is a vector with a fill pointer, that fill pointer is ignored.)
(array-dimensions (make-array 4)) → (4) (array-dimensions (make-array '(2 3))) → (2 3) (array-dimensions (make-array 4 :fill-pointer 2)) → (4)
None.
Should signal an error of type type-error if its argument is not an array.
Per X3J13. -kmp 05-Oct-93
None.