Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. mapReader :: (a -> b) -> Reader r a -> Reader r b

    monadology Control.Monad.Ology.Specific.ReaderT

    Transform the value returned by a Reader.

  2. mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n b

    monadology Control.Monad.Ology.Specific.ReaderT

    Transform the computation inside a ReaderT.

  3. mapResultFailure :: (e1 -> e2) -> Result e1 a -> Result e2 a

    monadology Control.Monad.Ology.Specific.Result

    No documentation available.

  4. mapState :: ((a, s) -> (b, s)) -> State s a -> State s b

    monadology Control.Monad.Ology.Specific.StateT

    Map both the return value and final state of a computation using the given function.

  5. mapStateT :: (m (a, s) -> n (b, s)) -> StateT s m a -> StateT s n b

    monadology Control.Monad.Ology.Specific.StateT

    Map both the return value and final state of a computation using the given function.

  6. mapWriter :: ((a, w) -> (b, w')) -> Writer w a -> Writer w' b

    monadology Control.Monad.Ology.Specific.WriterT

    Map both the return value and output of a computation using the given function.

  7. mapWriterT :: (m (a, w) -> n (b, w')) -> WriterT w m a -> WriterT w' n b

    monadology Control.Monad.Ology.Specific.WriterT

    Map both the return value and output of a computation using the given function.

  8. mapFst :: (a -> c) -> (a, b) -> (c, b)

    monoid-transformer Data.Monoid.State

    No documentation available.

  9. mapGroups :: (Collection c2, Monoid (c2 v2), Ord k2) => (Group k1 (c1 v1) -> Group k2 (c2 v2)) -> Multimap c1 k1 v1 -> Multimap c2 k2 v2

    more-containers Data.Multimap

    Maps over the multimap's groups. This method can be used to convert between specific multimaps, for example:

    let m1 = fromList [('a', 1), ('a', 1)] :: ListMultimap Char Int
    let m2 = mapGroups (fmap Set.fromList) m1 :: SetMultimap Char Int
    

  10. mapCounts :: Ord v => (Int -> Int) -> Multiset v -> Multiset v

    more-containers Data.Multiset

    Maps on the multiset's counts. Groups with resulting non-positive counts will be removed from the final multiset.

Page 349 of many | Previous | Next