Re: negotiation by failure- list operations
- From: Bart Demoen <bmd@xxxxxxxxxxxxxxxxx>
- Date: Tue, 14 Jun 2005 23:49:14 +0200
Brian Hulley wrote:
However "yes" and "no" is just due to the vagaries of the top level and shouldn't really be bothered about all that much.
Ah ! Finally a relevant point in this exchange of vagaries :-) (and why did nobody point out that there is no throwing involved in the Yes or No ? are you really relying on me to *** in :-?)
The toplevel behaviour is not defined by ISO (it is considered "environmental") - the toplevel query ?- X = 1. can result in
immediate yes and no alternatives prompt (GNU) immediate yes with an alternatives prompt neither yes nor no, but with an alternatives prompt (SICStus, SWI, Yap ...) and the yes or no comes after you type <CR> or ;<CR> ...
And sometimes the behaviour depends on whether the query is ground or not - all very ad hoc and unnecessarily confusing to the beginner (and sometimes to the old hogs as well). Sure, there are historc reasons for some of these, but maybe it is time Prolog implementors get rid of bad memories ?
Cheers
Bart Demoen .
- References:
- negotiation by failure- list operations
- From: ne0
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: ne0
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: matthiasse
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: ne0
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: Brian Hulley
- Re: negotiation by failure- list operations
- From: matthiasse
- Re: negotiation by failure- list operations
- From: Brian Hulley
- negotiation by failure- list operations
- Prev by Date: Re: cross-module asserting/retracting - is this a good thing?
- Next by Date: Re: negotiation by failure- list operations
- Previous by thread: Re: negotiation by failure- list operations
- Next by thread: Re: negotiation by failure- list operations
- Index(es):