bug-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

delete/3


From: parker777
Subject: delete/3
Date: Sun, 20 Nov 2005 15:03:11 +0100

Hi!
There is mistake in definition of predicate delete/3:

   | ?- delete(L, 1, [1,2,3]).
   L = [1,2,3] ?                   
   yes                                  

   | ?- delete([1,2,3], 1, [1,2,3]).
   no

Adrianna






reply via email to

[Prev in Thread] Current Thread [Next in Thread]