Skip to content

Instantly share code, notes, and snippets.

@yuanmai
Created March 5, 2012 16:03
Show Gist options
  • Save yuanmai/1979021 to your computer and use it in GitHub Desktop.
Save yuanmai/1979021 to your computer and use it in GitHub Desktop.
Clojure refactoring powered by core.logic
(clojure.core.logic/unifier '[(+ ?x 1) (inc ?x)] '[(+ a 1) ?refactored])
;[(+ a 1) (inc a)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment