(ns clojure.examples.example
(:gen-class))
(defn example []
(def demokeys (hash-map "z" 1 "b" 2 "a" 3))
(println (select-keys demokeys ["z" "a"])))
(example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265646.html
(ns clojure.examples.example
(:gen-class))
(defn example []
(def demokeys (hash-map "z" 1 "b" 2 "a" 3))
(println (select-keys demokeys ["z" "a"])))
(example)
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/265646.html