Re: how to make this fail driven loop succesfull ?

Roelof Wobben <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Thanks. Learned another things.


Rules can be powerfull but also difficult. 

Tommorow try to make more rules like brother, sister and so on. 


By the way I follow the adventure in prolog of Amzi.


Roelof


----------------------------------------
> Date: Sat, 8 Mar 2014 22:05:24 +0100
> From: [email protected]
> To: [email protected]
> Subject: Re: [SWIPL] how to make this fail driven loop succesfull ?
>
> On 2014-03-08 22:00, Roelof Wobben wrote:
>> I have tried to add siblings(_) but with no success
>
> You need siblings(_,_). In Prolog, a predicate is identified by functor
> *and* number of arguments. siblings with 1 argument (referred to as
> siblings/1) is completely different from siblings with 2 arguments
> (referred to as siblings/2).
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
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.