and/2 another pilog question

2011-06-29 Thread Doug Snead
More pilog adventures! Alex, would it be possible to give pilog an and/2 rule similar to the or/2 rule that pilog has now? Sometimes refactoring pilog around the lack of an and/2 is a pain. Here's an example, where a rule has a kind of a logical expression (with prolog backup):

Re: and/2 another pilog question

2011-06-29 Thread Henrik Sarvell
What is select ( http://software-lab.de/doc/refS.html#select/3 ) using internally for the filter part? Seems to me the filter part is a kind of implicit and. On Thu, Jun 30, 2011 at 9:32 AM, Doug Snead semaphore_2...@yahoo.com wrote: More pilog adventures! Alex, would it be possible to give

Re: and/2 another pilog question

2011-06-29 Thread Alexander Burger
Hi Henrik, What is select ( http://software-lab.de/doc/refS.html#select/3 ) using internally for the filter part? Seems to me the filter part is a kind of implicit and. Right. As I wrote in the previous mails, all clauses in a Prolog rule (not only in 'select/3') are combined by an implict

Re: and/2 another pilog question

2011-06-29 Thread Alexander Burger
Hi Doug, Alex, would it be possible to give pilog an and/2 rule similar to the or/2 rule that pilog has now? Sometimes refactoring pilog around the lack of an and/2 is a pain. Here's an example, where a rule has a kind of a logical expression (with prolog backup): As I wrote in my last mail,

Re: and/2 another pilog question

2011-06-29 Thread Doug Snead
a...@software-lab.de Subject: Re: and/2 another pilog question To: picolisp@software-lab.de Date: Wednesday, June 29, 2011, 9:12 PM Hi Henrik, What is select ( http://software-lab.de/doc/refS.html#select/3 ) using internally for the filter part? Seems to me the filter part is a kind