2 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
4 \section[ListSetOps]{Set-like operations on lists}
9 --UNUSED: intersectLists,
14 #include "HsVersions.h"
16 import Util ( isn'tIn )
21 unionLists :: (Eq a) => [a] -> [a] -> [a]
25 Everything in the first list that is not in the second list:
27 minusList :: (Eq a) => [a] -> [a] -> [a]
28 minusList xs ys = [ x | x <- xs, x `not_elem` ys]
30 not_elem = isn'tIn "minusList"