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.
hoistCode :: Monad m => (forall x . () => m x -> n x) -> Code m a -> Code n aghc-lib-parser GHC.Internal.TH.Syntax Modify the ambient monad used during code generation. For example, you can use hoistCode to handle a state effect: handleState :: Code (StateT Int Q) a -> Code Q a handleState = hoistCode (flip runState 0)
hoistUDSMT :: (forall x . () => m x -> n x) -> UniqDSMT m a -> UniqDSMT n aghc-lib-parser GHC.Types.Unique.DSM Change the monad underyling an applied UniqDSMT, i.e. transform a UniqDSMT m into a UniqDSMT n given m ~> n.
hoistScope :: Functor f => (forall x . () => f x -> g x) -> Scope b f a -> Scope b g abound Bound.Scope Lift a natural transformation from f to g into one between scopes.
hoistScope :: (f (Var b a) -> g (Var b a)) -> Scope b f a -> Scope b g abound Bound.Scope.Simple No documentation available.
-
rhine FRP.Rhine.ClSF.Core Hoist a ClSF along a monad morphism.
-
rhine FRP.Rhine.ClSF.Core Hoist a ClSF and its clock along a monad morphism.
-
rhine FRP.Rhine.ResamplingBuffer Hoist a ResamplingBuffer along a monad morphism.
hoistS :: Monad m => (forall x . () => m x -> n x) -> Automaton m a b -> Automaton n a bautomaton Data.Automaton Apply an arbitrary monad morphism to an automaton.
hoistMaybe :: forall (m :: Type -> Type) b . Applicative m => Maybe b -> MaybeT m bautomaton Data.Automaton.Trans.Maybe hoist' :: (forall x . () => m1 x -> m2 x) -> StreamT m1 a -> StreamT m2 aautomaton Data.Stream Hoist a stream along a monad morphism, by applying said morphism to the step function. This is like mmorph's hoist, but it doesn't require a Monad constraint on m2.