Skip to content

Instantly share code, notes, and snippets.

@deque-blog
Created May 19, 2017 15:25
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 deque-blog/dbb825b9e23838dbc345c7f01bffa19d to your computer and use it in GitHub Desktop.
Save deque-blog/dbb825b9e23838dbc345c7f01bffa19d to your computer and use it in GitHub Desktop.
(defn bindings->bound-vars
"Clean the bindings to remove the restructuring artifacts"
[bindings]
(->>
(flatten bindings)
(remove #{'& '_})
(remove keyword?)
(vec)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment