HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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