Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2015 03:08
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/f4551c7afa01f4f892dd to your computer and use it in GitHub Desktop.
Save anonymous/f4551c7afa01f4f892dd to your computer and use it in GitHub Desktop.
; keep track of parameters used when solving
(let [params [:a :b :c]]
(logic/run* [vars]
(logic/== vars (map #(lvar %1 false) params))
(logic/== vars [1 2 3])))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment