Re: almost equal rules problem

"Richard A. O'Keefe" <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
On 14/03/2014, at 9:06 AM, Roelof Wobben wrote:

> Im looking at a nice way to solve this.
> 
> I have a problem with 2 ways to solve it.
> 
> Sometimes I need this   rule a and rule 2 so  a,b 
> Sometimes I need this  rule1 or rule 2 so a;b 
> 
I'm really not understanding you here.
It's really too vague to make much sense of.

> I think I can solve it by using a if then.
> 
> So like this in pseudo - code. 
> 
> If waarde = true then a,b else a;b
> 
> Is there another  maybe better way to solve this.

It depends on what "this" is.

Sometimes a and b have common parts that can be
factored out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.