[[
✎ pl:prolog:pllib:list_nonmember
]]
aiWiki
Pokaż stronę
Ostatnie zmiany
Indeks
Zaloguj
Ta strona jest tylko do odczytu. Możesz wyświetlić źródła tej strony ale nie możesz ich zmienić.
====== List nonmember ====== {{tag>lists}} ===== Description ===== Nonmembership of a list **Source**: The Art of Prolog ===== Download ===== Program source code: {{list_nonmember.pl}} ===== Listing ===== <code prolog> /* nonmember(X,Xs) :- X is not a member of the list Xs. */ nonmember(X,[Y|Ys]) :- X \== Y, nonmember(X,Ys). nonmember(X,[]). % Program 7.5 Nonmembership of a list </code> ===== Comments =====
pl/prolog/pllib/list_nonmember.txt
· ostatnio zmienione: 2019/06/27 15:50 (edycja zewnętrzna)
Pokaż stronę
Poprzednie wersje
Menadżer multimediów
Do góry