Safe Haskell | None |
---|---|

Language | Haskell98 |

# Documentation

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

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

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

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

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

assocDefaultUsing :: (a -> a -> Bool) -> b -> Assoc a b -> a -> b 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

getNth :: Outputable a => [a] -> Int -> a Source