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.
mapName :: (Name name0 -> Name name1) -> T name0 string -> T name1 stringxml-basic Text.XML.Basic.ProcessingInstruction No documentation available.
-
FailT Control.Monad.Trans.Fail Map a function over the error type in the FailT monad.
-
FailT Control.Monad.Trans.Fail Map a function over the aggregation of errors in the FailT monad. Could be used for example for clearing our all of the aggregated error messages:
>>> runFail (mapErrorsFailT (const []) $ failT "Something went wrong") :: Either String () Left "No failure reason given"
mapFailT :: (m (Either [e] a) -> n (Either [e] b)) -> FailT e m a -> FailT e n bFailT Control.Monad.Trans.Fail Map a function over the underlying representation of the FailT monad.
-
FailT Control.Monad.Trans.Fail.String Version of mapErrorFail, where resulting type is restricted to String Map a function over the error type in the FailT monad.
-
FailT Control.Monad.Trans.Fail.String Version of mapErrorsFail, where resulting type is restricted to String Map a function over the aggregation of errors in the FailT monad. Could be used for example for clearing our all of the aggregated error messages:
>>> runFail (mapErrorsFailT (const []) $ failT "Something went wrong") :: Either String () Left "No failure reason given"
mapFailT :: (m (Either [String] a) -> n (Either [String] b)) -> FailT m a -> FailT n bFailT Control.Monad.Trans.Fail.String Version of mapFailT restricted to String Map a function over the underlying representation of the FailT monad.
-
FailT Control.Monad.Trans.Fail.Text Version of mapErrorFailT where resulting type is restricted to Text Map a function over the error type in the FailT monad.
-
FailT Control.Monad.Trans.Fail.Text Version of mapErrorsFail, where resulting type is restricted to Text Map a function over the aggregation of errors in the FailT monad. Could be used for example for clearing our all of the aggregated error messages:
>>> runFail (mapErrorsFailT (const [] :: [Text] -> [Text]) $ fail "Something went wrong" >> pure ()) Left "No failure reason given"
mapFailT :: (m (Either [Text] a) -> n (Either [Text] b)) -> FailT m a -> FailT n bFailT Control.Monad.Trans.Fail.Text Version of mapFailT restricted to Text Map a function over the underlying representation of the FailT monad.