2016년 12월 7일 수요일

[clojure] let usage

let structure is

(let [ variable    ] ( Method ) )

ex]

(let [x "is x" y "isy" color ["blue" "red"] ] (str "this color is " color " and name is " x)

2016년 11월 10일 목요일

[Clojure] Data Collection

1. List : '(1 2 3) or (list 1 2 3)

2. Vector : [1 2 3]

3. Map : {:key1 1 :key2 2}

4. Set : #{1 2 3}