ghc-7.6.3: The GHC API

Safe HaskellNone

ListSetOps

Documentation

unionLists :: (Outputable a, Eq a) => [a] -> [a] -> [a]Source

minusList :: Eq a => [a] -> [a] -> [a]Source

insertList :: Eq a => a -> [a] -> [a]Source

type Assoc a b = [(a, b)]Source

assoc :: Eq a => String -> Assoc a b -> a -> bSource

assocMaybe :: Eq a => Assoc a b -> a -> Maybe bSource

assocUsing :: (a -> a -> Bool) -> String -> Assoc a b -> a -> bSource

assocDefault :: Eq a => b -> Assoc a b -> a -> bSource

assocDefaultUsing :: (a -> a -> Bool) -> b -> Assoc a b -> a -> bSource

hasNoDups :: Eq a => [a] -> BoolSource

runs :: (a -> a -> Bool) -> [a] -> [[a]]Source

removeDups :: (a -> a -> Ordering) -> [a] -> ([a], [[a]])Source

findDupsEq :: (a -> a -> Bool) -> [a] -> [[a]]Source

equivClasses :: (a -> a -> Ordering) -> [a] -> [[a]]Source

equivClassesByUniq :: (a -> Unique) -> [a] -> [[a]]Source