Hoogle Search

Within LTS Haskell 24.52 (ghc-9.10.3)

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

  1. newtype MultiReaderT (x :: [Type]) (m :: Type -> Type) a

    multistate Control.Monad.Trans.MultiReader.Strict

    A Reader transformer monad patameterized by:

    • x - The list of types constituting the environment / input (to be read),
    • m - The inner monad.
    MultiReaderT corresponds to mtl's ReaderT, but can contain a heterogenous list of types. This heterogenous list is represented using Types.Data.List, i.e:
    • '[] - The empty list,
    • a ': b - A list where a is an arbitrary type and b is the rest list.
    For example,
    MultiReaderT '[Int, Bool] :: (* -> *) -> (* -> *)
    
    is a Reader transformer containing the types [Int, Bool].

  2. MultiReaderT :: StateT (HList x) m a -> MultiReaderT (x :: [Type]) (m :: Type -> Type) a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  3. inflateReader :: forall (m :: Type -> Type) r (rs :: [Type]) a . (Monad m, ContainsType r rs) => ReaderT r m a -> MultiReaderT rs m a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  4. mapMultiReaderT :: forall m a (w :: [Type]) m' a' . (m (a, HList w) -> m' (a', HList w)) -> MultiReaderT w m a -> MultiReaderT w m' a'

    multistate Control.Monad.Trans.MultiReader.Strict

    Map both the return value and the environment of a computation using the given function. Note that there is a difference to mtl's ReaderT, where it is not possible to modify the environment.

  5. runMultiReaderT :: forall m (r :: [Type]) a . Monad m => HList r -> MultiReaderT r m a -> m a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  6. runMultiReaderTNil :: Monad m => MultiReaderT ('[] :: [Type]) m a -> m a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  7. runMultiReaderTNil_ :: Functor m => MultiReaderT ('[] :: [Type]) m a -> m ()

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  8. runMultiReaderTRaw :: MultiReaderT (x :: [Type]) (m :: Type -> Type) a -> StateT (HList x) m a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  9. runMultiReaderT_ :: forall m (r :: [Type]) a . Functor m => HList r -> MultiReaderT r m a -> m ()

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

  10. withMultiReader :: forall (m :: Type -> Type) r (rs :: [Type]) a . Monad m => r -> MultiReaderT (r ': rs) m a -> MultiReaderT rs m a

    multistate Control.Monad.Trans.MultiReader.Strict

    No documentation available.

Page 721 of many | Previous | Next