與其他Lisp一樣,Clojure視代碼為資料且擁有一套Lisp巨集系統。 ... (alter (vec-refs v1) assoc i1 (nth @(vec-refs v2) i2)) (alter (vec-refs v2) assoc i2 tmp)))) ...
確定! 回上一頁