I just started learning Clojure if I define the following map:
(def distributions {:normal {:title "Normal" :mean 0 :sd 1} :beta {:title "Beta" :a 1 :b 3} :gamma {:title "Gamma" :rate 1/2 :shape 1}})
how do I write (defn get-titles [] ...) function that returns ("Normal", "Beta", "Gamma") ?
clojure
Chrisr
source share