Advertisement
Guest User

Untitled

a guest
Nov 21st, 2017
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (def my-map {:a 1 :b 2 :c 3})
  2. ;; extract the a b and c values from the keys via destructuring
  3. (let [{a :a c :c} my-map]
  4.   (println a)
  5.   (println c))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement