Re: Help: Multiple Proof Trees
- From: Bart Demoen <bmd@xxxxxxxxxxxxxxxxx>
- Date: Tue, 30 Aug 2005 16:21:49 +0200
Jan Wielemaker wrote:
On 2005-08-30, Bart Demoen <bmd@xxxxxxxxxxxxxxxxx> wrote:
because SWI make ?- clause((A,B),C). succeed [Jan, is that a bug (using 5.5.3) ?
?- listing((_,_)).
:- module_transparent (',')/2.
A, B :- A, B.
So, there is a clause and that is why clause/2 does its work. This clause is not a loop because the body is compiled.
Sure, it's a trick used by many implementations. However, when I asked "is it a bug", it was because one isn't supposed to show the clauses of a "control construct" (as the ISO terminology goes).
Cheers
Bart Demoen .
- Follow-Ups:
- Re: Help: Multiple Proof Trees
- From: Jan Wielemaker
- Re: Help: Multiple Proof Trees
- References:
- Help: Multiple Proof Trees
- From: Pasquale Renna
- Re: Help: Multiple Proof Trees
- From: Bart Demoen
- Re: Help: Multiple Proof Trees
- From: Jan Wielemaker
- Help: Multiple Proof Trees
- Prev by Date: Bug on XSB prolog???
- Next by Date: Re: Help: Multiple Proof Trees
- Previous by thread: Re: Help: Multiple Proof Trees
- Next by thread: Re: Help: Multiple Proof Trees
- Index(es):