The following code produces a choice point when calling foo(_,0). foo(A,0):- ( var(A) -> true ; true ). foo(A,3):- true. where as foo(A,0):- true, ( var(A) -> true ; true ). foo(A,3):- true. Correctly infers that the first clause is the only matching clause. (Note the supurflous 'true' in first clause) Any ideas? AndrewReceived on Fri Oct 05 10:04:50 2001
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:10 PM GMT GMT