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
相关文章
相关标签/搜索