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.Accum.Strict

A carrier for Accum effects. This carrier performs its append operations strictly and thus avoids the space leaks inherent in lazy writer monads. These appends are left-associative; as such, [] is a poor choice of monoid for computations that entail many calls to tell. The Seq or DList monoids may be a superior choice.

  • 1 type
  • 3 values

Accum carrier

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

Constructors

  • AccumC
    • runAccumC :: w -> m (w, a)
Instances10MonadTrans, Monad, Functor, MonadFix, MonadFail, Applicative, …

Accum effect

0 declarations