Re: core.logic API confusion

2014-06-13 Thread Norman Richards
On Mon, Jun 9, 2014 at 2:11 AM, JD wrote: > When I try to use core.logic's fact function I am getting a symbol not > found error. What is the idiomatic way to do something like: > > (logic/fact Orbits :mercury :sun) > > Orbits here was previously bound in a defrel, which I ended up replacing > w

core.logic API confusion

2014-06-09 Thread JD
When I try to use core.logic's fact function I am getting a symbol not found error. What is the idiomatic way to do something like: (logic/fact Orbits :mercury :sun) Orbits here was previously bound in a defrel, which I ended up replacing with pldb/db-rel. *example from Joy of Clojure's (2nd