HORIZON HASKELLDocslts/ghc-10.0.x8c2f8e82026-10-19Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8c2f8e8 · 2026-10-19

Modulefused-effects-1.1.2.7Haskell2010

Control.Carrier.Empty.Maybe

A carrier for an Empty effect, indicating failure with a Nothing value. Users that need access to an error message should use the Fail effect.

Note that Empty effects can, when they are the last effect in a stack, be interpreted directly to a Maybe without a call to runEmpty.

  • 1 type
  • 3 values

Empty carrier

4 declarations
newtypenewtype EmptyC (m :: Type -> Type) a
#

Constructors

Instances8MonadTrans, Monad, Functor, MonadFix, MonadFail, Applicative, …

Empty effect

0 declarations