From 60cf3e3c4a607e5661d44d6847f542315824947e Mon Sep 17 00:00:00 2001 From: Henrikh Kantuni Date: Wed, 1 Apr 2020 16:42:22 +0400 Subject: [PATCH] "unimportant -choices" to "unimportant-choices" --- content/cftbat/do-things.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@

Destructuring

you need to cry over them: Pigpen, Aquaman -

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}]