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

Modulepolysemy-1.9.2.0Haskell2010

Polysemy.Internal.CustomErrors

  • 2 types
  • Packagepolysemy-1.9.2.0
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceRedefined.hs
typetype FirstOrder (e :: Effect) (fn :: Symbol) = UnlessStuck e (FirstOrderErrorFcf e fn)
#

This constraint gives helpful error messages if you attempt to use a first-order combinator with a higher-order type.

familytype family (<>) (l :: k1) (r :: k2) :: ErrorMessage where
#

Equations

  • (<>) l r = ToErrorMessage l ':<>: ToErrorMessage r
familytype family (%) (t :: k1) (b :: k2) :: ErrorMessage where
#

Equations

  • (%) t b = ToErrorMessage t ':$$: ToErrorMessage b