HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

Modulelens-5.3.6Haskell2010

Control.Lens.Internal.Exception

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

  • 1 type
  • 1 class
  • Packagelens-5.3.6
  • 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