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.Church

A high-performance, strict, church-encoded carrier for Accum.

This carrier issues left-associated mappends, meaning that Monoids such as [] with poor performance for left-associated mappends are ill-suited for use with this carrier. Alternatives such as Endo, Seq, or DList may be preferred.

  • 1 type
  • 3 values

Accum carrier

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

Constructors

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

Accum effect

0 declarations