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. withMultiReader_ :: forall (m :: Type -> Type) r (rs :: [Type]) (w :: [Type]) (s :: [Type]) a . (Functor m, Monad m) => r -> MultiRWST (r ': rs) w s m a -> MultiRWST rs w s m ()

    multistate Control.Monad.Trans.MultiRWS.Strict

    No documentation available.

  2. withMultiReaders :: forall (m :: Type -> Type) (r1 :: [Type]) (r2 :: [Type]) (w :: [Type]) (s :: [Type]) a . Monad m => HList r1 -> MultiRWST (Append r1 r2) w s m a -> MultiRWST r2 w s m a

    multistate Control.Monad.Trans.MultiRWS.Strict

    No documentation available.

  3. withMultiReaders_ :: forall (m :: Type -> Type) (r1 :: [Type]) (r2 :: [Type]) (w :: [Type]) (s :: [Type]) a . (Functor m, Monad m) => HList r1 -> MultiRWST (Append r1 r2) w s m a -> MultiRWST r2 w s m ()

    multistate Control.Monad.Trans.MultiRWS.Strict

    No documentation available.

  4. withoutMultiReader :: forall (m :: Type -> Type) (rs :: [Type]) (w :: [Type]) (s :: [Type]) a r . Monad m => MultiRWST rs w s m a -> MultiRWST (r ': rs) w s m a

    multistate Control.Monad.Trans.MultiRWS.Strict

    No documentation available.

  5. module Control.Monad.Trans.MultiReader

    The multi-valued version of mtl's Reader / ReaderT / MonadReader

  6. class Monad m => MonadMultiReader a (m :: Type -> Type)

    multistate Control.Monad.Trans.MultiReader

    All methods must be defined. The idea is: Any monad stack is instance of MonadMultiReader a, iff the stack contains a MultiReaderT x with a element of x.

  7. type MultiReader (x :: [Type]) = MultiReaderT x Identity

    multistate Control.Monad.Trans.MultiReader

    A reader monad parameterized by the list of types x of the environment / input to carry. Similar to Reader r = ReaderT r Identity

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

    multistate Control.Monad.Trans.MultiReader

    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].

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

    multistate Control.Monad.Trans.MultiReader

    No documentation available.

  10. 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

    No documentation available.

Page 717 of many | Previous | Next