Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
streaming Streaming.Internal The same as hoist, but explicitly named to indicate that it is not entirely safe. In particular, its argument must be a monad morphism.
-
streaming Streaming.Internal The same as hoistExposed, but with a Functor constraint on the target rather than the source. This must be used only with a monad morphism.
-
streaming Streaming.Internal A less-efficient version of hoist that works properly even when its argument is not a monad morphism.
hoistUnexposed = hoist . unexposed
hoistLogAction :: (forall x . () => m x -> n x) -> LogAction m a -> LogAction n aco-log-core Colog.Core.Action Allows changing the internal monadic action. Let's say we have a pure logger action using PureLogger and we want to log all messages into IO instead. If we provide the following function:
performPureLogsInIO :: PureLogger a -> IO a
then we can convert a logger action that uses a pure monad to a one that performs the logging in the IO monad using:hoistLogAction performPureLogsInIO :: LogAction (PureLogger a) a -> LogAction IO a
hoistLogicT :: (Applicative m, Monad n) => (forall x . () => m x -> n x) -> LogicT m a -> LogicT n alogict Control.Monad.Logic Convert a LogicT computation from one underlying monad to another. For example,
hoistLogicT lift :: LogicT m a -> LogicT (StateT m) a
The first argument should be a monad morphism. to produce sensible results.-
polysemy Polysemy.Internal Extend the stack of a Sem with an explicit Union transformation.
-
polysemy Polysemy.State Hoist a State effect into a StateT monad transformer. This can be useful when writing interpreters that need to interop with MTL.
hoistFix :: Functor f => (forall a . () => f a -> g a) -> Fix f -> Fix gdata-fix Data.Fix Change base functor in Fix.
hoistFix' :: Functor g => (forall a . () => f a -> g a) -> Fix f -> Fix gdata-fix Data.Fix hoistMu :: (forall a . () => f a -> g a) -> Mu f -> Mu gdata-fix Data.Fix Change base functor in Mu.