actually bind
is not working for constraints created with fd/dom
e.g.
anybody else have any ideas?
This is the result in its basest form:
slipstream.core=> (run* [q] (clojure.core.logic.protocols/bind s# (fd/dom q (fd/interval 0 10))))
ArityException Wrong number of args (1) passed to: logic/eval1901/fn--1902/-inc--1903 clojure.lang.AFn.throwArity (AFn.java:429)
This works as expected:
slipstream.core=> (run* [q] (fd/dom q (fd/interval 0 10)))
(0 1 2 3 4 5 6 7 8 9 10)
slipstream.core=>
@dnolen ^
doh!
Looks like:
(everyg identity goals)
works!