Extending core.logic (Datomic example)

2012-05-18 Thread David Nolen
core.logic has had the facilities to integrate with external data sources for a very long time. However this feature has been poorly documented. Hopefully the following improves the situation a little bit: http://github.com/clojure/core.logic/wiki/Extending-core.logic-(Datomic-example) David

Re: Extending core.logic (Datomic example)

2012-05-19 Thread Thomas G. Kristensen
That link is dead - sorry, Thomas On May 19, 3:24 am, David Nolen wrote: > core.logic has had the facilities to integrate with external data sources > for a very long time. However this feature has been poorly documented. > Hopefully the following improves the situation a little bit: > > http://

Re: Extending core.logic (Datomic example)

2012-05-20 Thread Baishampayan Ghose
Try this one - https://github.com/clojure/core.logic/wiki/Extending-core.logic-%28Datomic-example%29 Regards, BG On Sun, May 20, 2012 at 12:22 PM, Thomas G. Kristensen wrote: > That link is dead - sorry, > > Thomas > > On May 19, 3:24 am, David Nolen wrote: >> core.logic has had the facilities

Re: Extending core.logic (Datomic example)

2012-05-20 Thread john
please forgive me if I am wrong because I know so little about clojure,logic and datomic But you are using (d/datoms (db conn) :eavt) which seems to give you a sequence over all datoms of a database. In a large database this sequence would not fit in memory. So wouldn't it be better if you s

Re: Extending core.logic (Datomic example)

2012-05-20 Thread David Nolen
The details of working efficiently with Datomic are outside the scope of the tutorial. And yes you can and should be more specific about how you access Datomic's indexes. David On Sun, May 20, 2012 at 2:58 PM, john wrote: > please forgive me if I am wrong because I know so little about > clojur