Re: A query in Pilog

2018-07-02 Thread George Orais
Indeed! And the best part for me is, you can get help from the creator (abu) himself ;) BR, geo On Jul 2, 2018, at 9:30 PM, David Bloom wrote: >> And that's something I like about this community. Even if I am too dumb to >> get it, there is someone else smart enough to guide me the correct w

Re: A query in Pilog

2018-07-02 Thread David Bloom
> And that's something I like about this community. Even if I am too dumb to > get it, there is someone else smart enough to guide me the correct way : ) > > Thanks again! > Agreed. The Picolisp community is a rare gem where one finds helpfulness instead of rude or unhelpful comments. > > On Mon

Re: A query in Pilog

2018-07-02 Thread Bruno Franco
u deserve and need. > *Von:* brunofrancosala...@gmail.com > *Gesendet:* 2. Juli 2018 5:46 vorm. > *An:* picolisp@software-lab.de > *Antworten:* picolisp@software-lab.de > *Betreff:* Re: A query in Pilog > > OH, I just realized how! > > (? (loves Mark @X) (woman @X)) > > I

Re: A query in Pilog

2018-07-01 Thread Johann-Tobias Schäg
ail.comGesendet: 2. Juli 2018 5:46 vorm.An: picolisp@software-lab.deAntworten: picolisp@software-lab.deBetreff: Re: A query in Pilog OH, I just realized how!(? (loves Mark @X) (woman @X))It seems obvious in hindsight XDOn Sun, Jul 1, 2018 at 10:37 PM Bruno Franco <brunofrancosala...@gmail.com>

Re: A query in Pilog

2018-07-01 Thread Bruno Franco
ark Max)) >> #-> loves >> (prove (goal '((loves Mark @X) (woman @X #as is seen here >> #-> ((@X . Ann)) >> >> does that help? >> >> *Von:* brunofrancosala...@gmail.com >> *Gesendet:* 1. Juli 2018 11:49 nachm. >> *An:* picolisp@soft

Re: A query in Pilog

2018-07-01 Thread Bruno Franco
> (be loves (Mark Max)) > #-> loves > (prove (goal '((loves Mark @X) (woman @X #as is seen here > #-> ((@X . Ann)) > > does that help? > > *Von:* brunofrancosala...@gmail.com > *Gesendet:* 1. Juli 2018 11:49 nachm. > *An:* picolisp@software-lab.de >

Re: A query in Pilog

2018-07-01 Thread Johann-Tobias Schäg
lisp@software-lab.deBetreff: A query in Pilog I'm going through the "Learn Prolog Now!" ebook and I ran into this query:?- loves(marsellus,X), woman(X).And I can't figure out how to do it in pilog.Is there a function that can test multiple queries at once, like or/2 does?thanks PԔ ‘ &j)m¢˜œ¢X¬¦Ê·«zV›uë.n7œ

A query in Pilog

2018-07-01 Thread Bruno Franco
I'm going through the "Learn Prolog Now!" ebook and I ran into this query: ?- loves(marsellus,X), woman(X). And I can't figure out how to do it in pilog. Is there a function that can test multiple queries at once, like or/2 does? thanks