Skip to content

Instantly share code, notes, and snippets.

Created August 2, 2013 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/c328a0c06fcb3aa872d3 to your computer and use it in GitHub Desktop.
Save anonymous/c328a0c06fcb3aa872d3 to your computer and use it in GitHub Desktop.
How to force deep doall?
(def ^:dynamic *F* :identity)
(binding [*F* :count] (doall [(map (fn [x] (condp = *F*
:identity (identity x)
:count (count x)))
["hello"])]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment