ghc-parmake-0.1.9: A parallel wrapper for 'ghc --make'.

GHC.ParMake.Common

Synopsis

# Documentation

andM :: Monad m => [m Bool] -> m Bool Source #

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 #

uniq :: Eq a => [a] -> [a] Source #

Remove consecutive duplicate elements from a list. Example: uniq [3,3,3] = [3].