(defn announce-treasure-location
➊ [{lat :lat lng :lng}]
diff --git a/content/cftbat/do-things.html b/content/cftbat/do-things.html index f027ae3b..5fca746c 100644 --- a/content/cftbat/do-things.html +++ b/content/cftbat/do-things.html @@ -658,7 +658,7 @@
Here, the rest parameter unimportant
-choices
handles any number of additional choices from the user after the first and second.
Here, the rest parameter unimportant-choices
handles any number of additional choices from the user after the first and second.
You can also destructure maps. In the same way that you tell Clojure to destructure a vector or list by providing a vector as a parameter, you destructure maps by providing a map as a parameter:
(defn announce-treasure-location
➊ [{lat :lat lng :lng}]