HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulelens-5.3.5Haskell2010

Control.Lens.Internal.Exception

This module uses dirty tricks to generate a Handler from an arbitrary Fold.

  • 1 type
  • 1 class
  • Packagelens-5.3.5
  • Exports2
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceException.hs
classclass Handleable e (m :: Type -> Type) (h :: Type -> Type) | h -> e m where
#

Both exceptions and Control.Exception provide a Handler type.

This lets us write combinators to build handlers that are agnostic about the choice of which of these they use.

Methods

Instances3Handleable