From 6f604b19d3f5966e5c1d7c4fdf3703bd6ff0861c Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Thu, 16 Apr 2015 21:22:20 +0200 Subject: update to fp2 yay, public and licence --- week4/mart/StdSet.dcl | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 week4/mart/StdSet.dcl (limited to 'week4/mart/StdSet.dcl') diff --git a/week4/mart/StdSet.dcl b/week4/mart/StdSet.dcl deleted file mode 100644 index 0c702ca..0000000 --- a/week4/mart/StdSet.dcl +++ /dev/null @@ -1,25 +0,0 @@ -definition module StdSet - -import StdClass - -:: Set a - -toSet :: [a] -> Set a | Eq a -fromSet :: (Set a) -> [a] - -isEmptySet :: (Set a) -> Bool -isDisjoint :: (Set a) (Set a) -> Bool | Eq a -isSubset :: (Set a) (Set a) -> Bool | Eq a -isStrictSubset :: (Set a) (Set a) -> Bool | Eq a -memberOfSet :: a (Set a) -> Bool | Eq a -union :: (Set a) (Set a) -> Set a | Eq a -intersection :: (Set a) (Set a) -> Set a | Eq a -nrOfElements :: (Set a) -> Int -without :: (Set a) (Set a) -> Set a | Eq a - -product :: (Set a) (Set b) -> Set (a,b) - -instance zero (Set a) -instance == (Set a) | Eq a - -powerSet :: (Set a) -> Set (Set a) | Eq a -- cgit v1.2.3