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.

  1. mapName :: (Name name0 -> Name name1) -> T name0 string -> T name1 string

    xml-basic Text.XML.Basic.ProcessingInstruction

    No documentation available.

  2. mapErrorFailT :: forall (m :: Type -> Type) e e' a . Functor m => (e -> e') -> FailT e m a -> FailT e' m a

    FailT Control.Monad.Trans.Fail

    Map a function over the error type in the FailT monad.

  3. mapErrorsFailT :: forall (m :: Type -> Type) e e' a . Functor m => ([e] -> [e']) -> FailT e m a -> FailT e' m a

    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"
    

  4. mapFailT :: (m (Either [e] a) -> n (Either [e] b)) -> FailT e m a -> FailT e n b

    FailT Control.Monad.Trans.Fail

    Map a function over the underlying representation of the FailT monad.

  5. mapErrorFailT :: forall (m :: Type -> Type) e a . Functor m => (e -> String) -> FailT e m a -> FailT m a

    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.

  6. mapErrorsFailT :: forall (m :: Type -> Type) e a . Functor m => ([e] -> [String]) -> FailT e m a -> FailT m a

    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"
    

  7. mapFailT :: (m (Either [String] a) -> n (Either [String] b)) -> FailT m a -> FailT n b

    FailT Control.Monad.Trans.Fail.String

    Version of mapFailT restricted to String Map a function over the underlying representation of the FailT monad.

  8. mapErrorFailT :: forall (m :: Type -> Type) e a . Functor m => (e -> Text) -> FailT e m a -> FailT m a

    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.

  9. mapErrorsFailT :: forall (m :: Type -> Type) e a . Functor m => ([e] -> [Text]) -> FailT e m a -> FailT m a

    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"
    

  10. mapFailT :: (m (Either [Text] a) -> n (Either [Text] b)) -> FailT m a -> FailT n b

    FailT Control.Monad.Trans.Fail.Text

    Version of mapFailT restricted to Text Map a function over the underlying representation of the FailT monad.

Page 232 of many | Previous | Next