Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

pl:prolog:pllib:disjunctive_sets [2019/06/27 15:50]
pl:prolog:pllib:disjunctive_sets [2019/06/27 15:50] (aktualna)
Linia 1: Linia 1:
 +====== Disjunctive sets ======
 +{{tag>​lists math function}}
 +===== Description =====
 +Checking if two sets have not got mutual elements
 +
 +**Source**: ​ PROLOG str. 191 Wydawnictwo PLJ Warszawa 1991 ISBN 83-85190-63-5
 +===== Download =====
 +Program source code: {{disjunctive_sets.pl}}
 +===== Listing =====
 +<code prolog>
 +rozlaczne(A,​ B) :- member(X, A), not(member(X,​ B)).
 +
 +test :- rozlaczne([1,​ 2, 3], [6, 3, 5]).</​code>​
 +===== Comments =====
  
pl/prolog/pllib/disjunctive_sets.txt · ostatnio zmienione: 2019/06/27 15:50 (edycja zewnętrzna)
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0