Re: Strange clause/2 predicate behaviour in SWI-Prolog
- From: russell kym horsell <kym@xxxxxxxxxxxxxxxxxxx>
- Date: Sat, 25 Mar 2006 02:50:03 +0000 (UTC)
Jose' de Siqueira <jose@xxxxxxxxxxx> wrote:
Shouldn't the same query give the same answer in both systems?[playing with clause and ','/2].
I consider the GNU Prolog answer expected and correct, but the
SWI-Prolog answer stuns me! Is it a bug?
It may be considered "unusual" in terms of an appropriate measure of
possible Prolog implementations (:) but SWI isn't alone in adding as
a clause. It's documented in the SWI manual.
.
- References:
- Strange clause/2 predicate behaviour in SWI-Prolog
- From: Jose' de Siqueira
- Strange clause/2 predicate behaviour in SWI-Prolog
- Prev by Date: Re: Prolog AI for Game of Go
- Next by Date: Re: Strange clause/2 predicate behaviour in SWI-Prolog
- Previous by thread: Strange clause/2 predicate behaviour in SWI-Prolog
- Next by thread: Re: Strange clause/2 predicate behaviour in SWI-Prolog
- Index(es):
Relevant Pages
|
|