I'm not sure what you want describe-place to do, but you don't need a new
function to get the value for a key of a map.
user=> (def *places* {:room "Nice room" :basement "what ever"})
#'user/*places*
user=> (:room *places*)
"Nice room"
user=> (*places* :room)
"Nice room"
user=> (:basement *places*)
"what ever"
user=> (*places* :basement)
"what ever"
user=>
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en