Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -4,5 +4,5 @@ a = fromList ["John", "Bob", "Mary", "Serena"]
|
|||
b = fromList ["Jim", "Mary", "John", "Bob"]
|
||||
|
||||
(-|-) :: Ord a => Set a -> Set a -> Set a
|
||||
(-|-) x y = (x \\ y) `union` (y \\ x)
|
||||
x -|- y = (x \\ y) `union` (y \\ x)
|
||||
-- Equivalently: (x `union` y) \\ (x `intersect` y)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue