HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulelens-5.3.6Haskell2010

Control.Lens.Internal.Exception

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

Synopsis
  • 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