jscl icon indicating copy to clipboard operation
jscl copied to clipboard

make-array: ERROR: Unknown keyword argument INITIAL-CONTENTS

Open VitoVan opened this issue 2 years ago • 0 comments
trafficstars

Welcome to JSCL (version 25e0341 built on 18 May 2023)

JSCL is a Common Lisp implementation on Javascript.
For more information, visit the project page at [GitHub](https://github.com/jscl-project/jscl).

CL-USER> (make-array  
...  '(13 13)  
...  :initial-contents  
...  '(  
...    (1 1 1 1 1 1 1 1 1 1 1 1 1)  
...    (0 0 1 0 0 0 1 0 0 0 1 0 1)  
...    (1 0 1 0 1 0 1 1 1 0 1 0 1)  
...    (1 0 1 0 1 0 0 0 0 0 1 0 1)  
...    (1 0 1 0 1 1 1 1 1 0 1 0 1)  
...    (1 0 1 0 0 0 0 0 1 0 0 0 1)  
...    (1 0 1 1 1 0 1 1 1 0 1 0 1)  
...    (1 0 0 0 1 0 0 0 1 0 1 0 1)  
...    (1 1 1 0 1 1 1 0 1 0 1 0 1)  
...    (1 0 0 0 1 0 0 0 1 0 1 0 1)  
...    (1 0 1 1 1 0 1 1 1 0 1 0 1)  
...    (1 0 0 0 0 0 1 0 0 0 1 0 1)  
...    (1 1 1 1 1 1 1 1 1 1 1 0 1)  
...    ))
ERROR: Unknown keyword argument INITIAL-CONTENTS
CL-USER>

http://clhs.lisp.se/Body/f_mk_ar.htm

VitoVan avatar Jun 02 '23 09:06 VitoVan