Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. mapRWS :: ((a, s, w) -> (b, s, w')) -> RWS r w s a -> RWS r w' s b

    transformers Control.Monad.Trans.RWS.Strict

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

  2. mapRWST :: (m (a, s, w) -> n (b, s, w')) -> RWST r w s m a -> RWST r w' s n b

    transformers Control.Monad.Trans.RWS.Strict

    Map the inner computation using the given function.

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

    transformers Control.Monad.Trans.Reader

    Transform the value returned by a Reader.

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

    transformers Control.Monad.Trans.Reader

    Transform the computation inside a ReaderT.

  5. mapSelect :: (a -> a) -> Select r a -> Select r a

    transformers Control.Monad.Trans.Select

    Apply a function to transform the result of a selection computation.

  6. mapSelectT :: (m a -> m a) -> SelectT r m a -> SelectT r m a

    transformers Control.Monad.Trans.Select

    Apply a function to transform the result of a selection computation. This has a more restricted type than the map operations for other monad transformers, because SelectT does not define a functor in the category of monads.

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

    transformers Control.Monad.Trans.State.Lazy

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

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

    transformers Control.Monad.Trans.State.Lazy

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

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

    transformers Control.Monad.Trans.State.Strict

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

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

    transformers Control.Monad.Trans.State.Strict

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

Page 65 of many | Previous | Next