1 implementation module StdDynSet
6 class Set a | TC, ==, toString a
11 where zero = abort "zero instance voor Set nog niet geimplementeerd.\n"
14 where toString a = abort "toString instance voor Set nog niet geimplementeerd.\n"
17 where == a b = abort "== instance voor Set nog niet geimplementeerd.\n"
19 toSet :: a -> Set | Set a
20 toSet a = abort "toSet nog niet geimplementeerd.\n"
22 nrOfElts :: Set -> Int
23 nrOfElts a = abort "nrOfElts nog niet geimplementeerd.\n"
25 isEmptySet :: Set -> Bool
26 isEmptySet a = abort "isEmptySet nog niet geimplementeerd.\n"
28 memberOfSet :: a Set -> Bool | Set a
29 memberOfSet x a = abort "memberOfSet nog niet geimplementeerd.\n"
31 isSubset :: Set Set -> Bool
32 isSubset a b = abort "isSubset nog niet geimplementeerd.\n"
34 isStrictSubset :: Set Set -> Bool
35 isStrictSubset a b = abort "isStrictSubset nog niet geimplementeerd.\n"
37 union :: Set Set -> Set
38 union a b = abort "union nog niet geimplementeerd.\n"
40 intersection :: Set Set -> Set
41 intersection a b = abort "intersection nog niet geimplementeerd.\n"
43 without :: Set Set -> Set
44 without a b = abort "without nog niet geimplementeerd.\n"