Open practicalli-johnny opened 3 years ago
All the many wonderful ways to deconstruct
destructure map keys from many namespaces like so : user=> (let [{:keys [:a/one :b/two three]} {:a/one 1 :b/two 2 :three 3}] [one two three]) ;; => [1 2 3]
also destructure like :a/keys to use the same namespace for multiple keys that share one
All the many wonderful ways to deconstruct
destructure map keys from many namespaces like so : user=> (let [{:keys [:a/one :b/two three]} {:a/one 1 :b/two 2 :three 3}] [one two three]) ;; => [1 2 3]
also destructure like :a/keys to use the same namespace for multiple keys that share one