标签:
(defn kj [x]
(letfn [(f [x y] (format "%d*%d=%d" x y (* x y)))
(g [c] (clojure.string/join " " (map #(f % (count c)) c)))
(t [] (map #(range 1 (inc %)) (range 1 (inc x))))]
(let [t (t)] (pprint (map g t)))))
(kj 9)
标签:
原文地址:http://www.cnblogs.com/clojure-chaos/p/4187013.html