News for hackers. Stuff that matters.
Re:Lisp Flavored Erlang by lispm on Thursday January 29, 2015 @02:55PM (#8968455)
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)

There are no comments on this comment yet.