Skip to content

Instantly share code, notes, and snippets.

@tutysara
Created August 9, 2012 06:49
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 tutysara/3301766 to your computer and use it in GitHub Desktop.
Save tutysara/3301766 to your computer and use it in GitHub Desktop.
(defn tst []
(fn [aseq]
(let [mapfn (fn [v]
(let [v (identity v)
_ (println :x)
_ (println :y)]
v))]
(map mapfn aseq))))
((tst) (range 5))
(def res ((tst) (range 5)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment