diff options
author | davve <davve@dtek.chalmers.se> | 2006-08-11 20:31:51 +0000 |
---|---|---|
committer | davve <davve@dtek.chalmers.se> | 2006-08-11 20:31:51 +0000 |
commit | d7097e0d05c37652402971093a2ce2c2a73281f4 (patch) | |
tree | c8c0ab24e2ec3e65c6b91f5dc0b052b1afa9d647 /src/Set.hs | |
parent | 20c21b530551f5174a10905e2517edff1333357f (diff) |
Cleanup
Diffstat (limited to 'src/Set.hs')
-rw-r--r-- | src/Set.hs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/src/Set.hs b/src/Set.hs deleted file mode 100644 index 383d23f8..00000000 --- a/src/Set.hs +++ /dev/null @@ -1,32 +0,0 @@ -module Set ( - Set, - member, - empty, singleton, delete, - union, unions, - elems, fromList -) where - -import Data.Set - -#if __GLASGOW_HASKELL__ < 603 -member :: Ord a => a -> Set a -> Bool -member = elementOf - -empty :: Set a -empty = emptySet - -singleton :: a -> Set a -singleton = unitSet - -delete :: Ord a => a -> Set a -> Set a -delete = flip delFromSet - -unions :: Ord a => [Set a] -> Set a -unions = unionManySets - -elems :: Set a -> [a] -elems = setToList - -fromList :: Ord a => [a] -> Set a -fromList = mkSet -#endif |