next up previous
Next: Exchanging NOT with CUT Up: No Title Previous: Lists and Cuts

Order of clauses

p :- a,b.
p :- c.
means p = (a and b) or c

p :- a, !, b.
p :- c.
means p = (a and b) or (~a and c)

swapping clauses

p :- c.
p :- a, !, b.
means p = c or (a and b)



Omer F Rana
Sun Feb 16 21:01:24 GMT 1997