(ns clojure.examples.example
(:gen-class))
(defn Example []
(def my-map {"a" 1 "b" 2})
(let [{a "a" b "b" c "c"} my-map]
(println a b c)))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265690.html
(ns clojure.examples.example
(:gen-class))
(defn Example []
(def my-map {"a" 1 "b" 2})
(let [{a "a" b "b" c "c"} my-map]
(println a b c)))
(Example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265690.html