delete/3

[email protected]
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.