Skip to content

Instantly share code, notes, and snippets.

@lucasas
Created May 31, 2015 14:29
Show Gist options
  • Save lucasas/3c70b36973e8d84c0d28 to your computer and use it in GitHub Desktop.
Save lucasas/3c70b36973e8d84c0d28 to your computer and use it in GitHub Desktop.
(def point {:x 1 :y 4})
(let [{x-value :x y-value :y} point]
(println "x:" x-value "y:" y-value)) ; => x: 1 y: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment