It can be done with project. David
On Fri, Apr 27, 2012 at 4:25 PM, Daniel Kwiecinski < daniel.kwiecin...@gmail.com> wrote: > Big thanks for the links. Re. my question, is it doable to aggregate? Does > it make sense to agregate in LP at all? > > Daniel > On Apr 27, 2012 4:30 PM, "David Nolen" <dnolen.li...@gmail.com> wrote: > >> Might I suggest a good book on Prolog? >> >> >> http://www.amazon.com/Prolog-Programming-Artificial-Intelligence-Bratko/dp/0201403757 >> http://www.amazon.com/The-Art-Prolog-Second-Edition/dp/0262193388 >> >> I also recommend close readings of The Reasoned Schemer and Byrd's >> dissertation - both are linked to in core.logic README. >> >> David >> >> On Friday, April 27, 2012, Daniel Kwiecinski wrote: >> >>> Lets say we have child - father and child - mother relationship and >>> derive from it child - parent relationship (via goal) . In clojure logic I >>> can create goals which can answer questions like: children-of, >>> grandchildren-of, all-descendants-of, all-ancestors-of very easily. >>> But how one create goals that let answer questions such as: >>> grandchildren-count-of, length-of-ancestors-line, grandparents-count >>> >>> Kind Regards, >>> Daniel Kwiecinski >>> lambder.com >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clojure@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en