You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed on slack, Clojure now supports destructuring maps as key-value pairs in parameter lists: [& {:as m :keys [id before after]}] can be used as both (f {:id 1 :before 2 :after 3}) and (f :id 1 :before 2 :after 3). To use this when writing a schema requires doubling up on the definition:
As discussed on slack, Clojure now supports destructuring maps as key-value pairs in parameter lists:
[& {:as m :keys [id before after]}]
can be used as both(f {:id 1 :before 2 :after 3})
and(f :id 1 :before 2 :after 3)
. To use this when writing a schema requires doubling up on the definition:The text was updated successfully, but these errors were encountered: