3 ms·
What does make you think Common Lisp doesn't have data type literals? A literal vector in Common Lisp: #(1 2 3 4 5) A literal 3d 2x2x2 array in Common Li
by lispm 12y ago
What does make you think Common Lisp doesn't have data type literals?
A literal vector in Common Lisp:
#(1 2 3 4 5)
A literal 3d 2x2x2 array in Common Lisp:
#3A(((0 1) (2 3)) ((4 5) (6 7)))
Using it:
CL-USER 4 > (map 'vector #'sqrt #(1 2 3))
#(1.0 1.4142135 1.7320508)