[mercury-users] failure warning
Peter Schachte
schachte at cs.mu.OZ.AU
Thu Aug 14 09:49:21 AEST 2003
> foo(X, Y) :-
> ( if ... then
> Y = ...
> else
> false
> ).
I'm just curious why you don't more succinctly write
foo(X, Y) :-
...,
Y = ... .
or even
foo(X, ...) :-
... .
This, of course, is not to say that the behavior you are asking about
is OK.
--
Peter Schachte A witty saying proves nothing.
schachte at cs.mu.OZ.AU -- Voltaire
www.cs.mu.oz.au/~schachte/
Phone: +61 3 8344 1338
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list