HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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