ghc-parmake-0.1.8: A parallel wrapper for 'ghc --make'.
GHC.ParMake.Common
Synopsis
andM :: Monad m => [m Bool] -> m BoolSource
appendMap :: (t -> a) -> [t] -> [a] -> [a]Source
Map f over l and then append rest to l. More efficient than doing `map f l ++ rest`.
firstM :: Monad m => [a] -> (a -> m Bool) -> m (Maybe a)Source
maybeRead :: Read a => String -> Maybe aSource
pathToMaybe :: FilePath -> Maybe FilePathSource
uniq :: Eq a => [a] -> [a]Source
Remove consecutive duplicate elements from a list. Example: uniq [3,3,3] = [3].