HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

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.

Contents
  1. Empty carrier
  2. Empty effect
Synopsis

Empty carrier

newtypenewtype EmptyC (m :: Type -> Type) a

Constructors

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

Empty effect