Skip to content

Instantly share code, notes, and snippets.

@hiredman
Created November 9, 2010 03:31
Show Gist options
  • Select an option

  • Save hiredman/668652 to your computer and use it in GitHub Desktop.

Select an option

Save hiredman/668652 to your computer and use it in GitHub Desktop.
user=> (defmacro foo [] (into {} (for [[a b] &env] [(keyword a) a])))
#'user/foo
user=> (let [x 1] (foo))
{:x 1}
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment