https://github.com/clojure-conspiracy/logic-programming
Powered by core.logic:
The coundown numbers game:
- Any number of integer choices may be given and any integer target.
- It will only find exact answers, if there is no solution it will return nil rather than the closest calculation.
Example:
(play 674 [5 74 2 3 9]) ;;=> (+ 5 (+ 3 (* 74 9)))