File tree 2 files changed +10
-10
lines changed
2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
# logic-prog
2
2
3
- A Clojure library designed to ... well, that part is up to you.
3
+ A solver for the countdown numbers game written using core.logic
4
4
5
- ## Usage
5
+ Usage
6
6
7
- FIXME
7
+ ``` clojure
8
+ (play 674 [5 74 2 3 9 ])
9
+ => (+ 5 (+ 3 (* 74 9 )))
10
+ ```clojure
11
+ Any number of integer choices may be given and any integer target.
8
12
9
- ## License
10
-
11
- Copyright © 2014 FIXME
12
-
13
- Distributed under the Eclipse Public License either version 1.0 or (at
14
- your option) any later version.
13
+ It will only find exact answers, if there is no solution it will return nil rather than the closest calculation.
Original file line number Diff line number Diff line change 3
3
:url " http://example.com/FIXME"
4
4
:license {:name " Eclipse Public License"
5
5
:url " http://www.eclipse.org/legal/epl-v10.html" }
6
- :dependencies [[org.clojure/clojure " 1.5.1" ]])
6
+ :dependencies [[org.clojure/clojure " 1.6.1" ]
7
+ [org.clojure/core.logic " 0.8.7" ]])
You can’t perform that action at this time.
0 commit comments