Skip to content

Commit 74a0605

Browse files
committed
input map
1 parent f78c003 commit 74a0605

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/reference/special_forms.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ Clojure 1.9 adds support for directly destructuring many keys (or symbols) that
361361
-> [1 2]
362362
----
363363

364-
You can ensure that required keys are present during map destructuring by using the checked variants of the `:keys`/`:syms`/`:strs` binding directives named `:keys!`/`:syms!`/`:strs!`, [since 1.13] which throw an exception if any of the specified keys are missing from the destructured map. These checked directives also accept `&`, [since 1.13] after which you may list additional keys that are still required and checked, but not bound to a local name.
364+
You can ensure that required keys are present during map destructuring by using the checked variants of the `:keys`/`:syms`/`:strs` binding directives named `:keys!`/`:syms!`/`:strs!`, [since 1.13] which throw an exception if any of the specified keys are missing from the input map. These checked directives also accept `&`, [since 1.13] after which you may list additional keys that are still required and checked, but not bound to a local name.
365365

366366
[source,clojure]
367367
----

0 commit comments

Comments
 (0)