clojure/core cons

點我查看原文rest (ns $clojureDoc.core.cons) ;; (cons x seq) ;; Returns a new seq where x is the first element and seq is the rest. ;; 把x做爲元素放在序列seq的第一位並返回一個新序列 (println (cons 1 [2 3 4])) ;; => (1 2 3 4) (pr
相關文章
相關標籤/搜索