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

Modulererebase-1.21.2Haskell2010

Data.Functor.Invariant.TH

  • 1 type
  • 9 values

Conservative Options that doesn't attempt to use EmptyCase (to prevent users from having to enable that extension at use sites.)

newtypenewtype Options
#

Options that further configure how the functions in Data.Functor.Invariant.TH should behave.

Constructors

  • Options
    • emptyCaseBehavior :: Bool

      If True, derived instances for empty data types (i.e., ones with no data constructors) will use the EmptyCase language extension. If False, derived instances will simply use seq instead. (This has no effect on GHCs before 7.8, since EmptyCase is only available in 7.8 or later.)

Instances4Eq, Ord, Read, Show
  • Eq OptionsDefined in invariant-0.6.4 · Data.Functor.Invariant.TH
  • Ord OptionsDefined in invariant-0.6.4 · Data.Functor.Invariant.TH
  • Read OptionsDefined in invariant-0.6.4 · Data.Functor.Invariant.TH
  • Show OptionsDefined in invariant-0.6.4 · Data.Functor.Invariant.TH