Re: ! and ->



Yan Georget wrote:
Can you fix these easily ?


What about:

p() :- a(), q(), b().

q() :- if(), !, then().
q() :- else().
--
Yan

What if then() (or else()) contains a cut ? Does it affect a() in your translation ?
It did in the original program !

Cheers

Bart Demoen
.