Skip to content

Instantly share code, notes, and snippets.

@MichaelDrogalis
Created July 17, 2013 12:44
Show Gist options
  • Select an option

  • Save MichaelDrogalis/6020235 to your computer and use it in GitHub Desktop.

Select an option

Save MichaelDrogalis/6020235 to your computer and use it in GitHub Desktop.
(def a {:x 1})
(def b {:x/y 2})
(prn a) ;; => 1
(prn b) ;; => 2
(let [{:keys [x]} a]
(prn x)) ;; => 1
(let [{:keys [x/y]} a]
(prn x/y)) ;; => java.lang.RuntimeException: Can't let qualified name: x/y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment