MyFunnyDev

web, coding and beyond

Archive for the ‘Clojure’ Category

Clojure syntax

without comments

Making a note for myself:

(1 2 3 4) // list
[1 2 3 fred] // vector
{:a 1 :b 2 :c 3}, {1 "a" 2 "b"} // map key/value
#{a b c} // set

Written by MichaƂ Kuklis

February 2nd, 2010 at 12:36 am

Posted in Clojure