Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 19, 2016 07:25
Show Gist options
  • Save zhouqiang-cl/78cf1da71e71d62982bb5b0b9995d9dc to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/78cf1da71e71d62982bb5b0b9995d9dc to your computer and use it in GitHub Desktop.
common lisp 的函数 ARRAY-DIMENSIONS
语法
array-dimensions array => dimensions
参数和值
array --- 一个 array
dimensions --- 一个整数的列表
描述
返回数组的维度
代码
* (array-dimensions (make-array 4))
(4)
* (array-dimensions (make-array '(2 3)))
(2 3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment