-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Collection of combinators over standard typeclasses -- -- Collection of combinators over standard typeclasses @package combinators @version 0.1 module Combinators -- | Generalization over many common natural transformations, including: -- -- alternate :: (Foldable f, Alternative g) => f a -> g a -- | alternate extended with ability to map the wrapped value. alternateMap :: (Foldable f, Alternative g) => (a -> b) -> f a -> g b -- | alternateMap extended with ability to do the mapping in the -- Alternative context. alternateMapM :: (Foldable f, Alternative g) => (a -> g b) -> f a -> g b -- | Indexed version of forM. iforM :: (Monad m, Traversable f) => f a -> (Int -> a -> m b) -> m (f b)