Skip to content

Instantly share code, notes, and snippets.

@jballanc
Created July 3, 2012 13:37
Show Gist options
  • Save jballanc/3039745 to your computer and use it in GitHub Desktop.
Save jballanc/3039745 to your computer and use it in GitHub Desktop.
(def foo {:hello "World"})
(def bar (ref {:hello "World"}))
(map :hello [foo bar])
;; => ("World" nil)
(map #(% :hello) [foo bar])
;; => ("World" "World")
@jballanc
Copy link
Author

jballanc commented Jul 3, 2012

@rafmagana 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment