ghc-6.12.2: The GHC APISource codeContentsIndex
Bag
Documentation
data Bag a Source
show/hide Instances
emptyBag :: Bag aSource
unitBag :: a -> Bag aSource
unionBags :: Bag a -> Bag a -> Bag aSource
unionManyBags :: [Bag a] -> Bag aSource
mapBag :: (a -> b) -> Bag a -> Bag bSource
elemBag :: Eq a => a -> Bag a -> BoolSource
lengthBag :: Bag a -> IntSource
filterBag :: (a -> Bool) -> Bag a -> Bag aSource
partitionBag :: (a -> Bool) -> Bag a -> (Bag a, Bag a)Source
concatBag :: Bag (Bag a) -> Bag aSource
foldBag :: (r -> r -> r) -> (a -> r) -> r -> Bag a -> rSource
foldrBag :: (a -> r -> r) -> r -> Bag a -> rSource
foldlBag :: (r -> a -> r) -> r -> Bag a -> rSource
isEmptyBag :: Bag a -> BoolSource
isSingletonBag :: Bag a -> BoolSource
consBag :: a -> Bag a -> Bag aSource
snocBag :: Bag a -> a -> Bag aSource
anyBag :: (a -> Bool) -> Bag a -> BoolSource
listToBag :: [a] -> Bag aSource
bagToList :: Bag a -> [a]Source
mapBagM :: Monad m => (a -> m b) -> Bag a -> m (Bag b)Source
mapAndUnzipBagM :: Monad m => (a -> m (b, c)) -> Bag a -> m (Bag b, Bag c)Source
Produced by Haddock version 2.6.1