HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulegeneric-data-1.1.0.2Haskell2010

Generic.Data.Internal.Functions

Type-level functions on generic representations.

Warning

This is an internal module: it is not subject to any versioning policy, breaking changes can happen at any time.

If something here seems useful, please report it or create a pull request to export it from an external module.

  • 2 values
familytype family NFields (r :: k -> Type) :: Nat
#

Arity of a constructor.

Instances3NFields
  • type NFields (M1 C c f) = NFields fDefined in generic-data-1.1.0.2 · Generic.Data.Internal.Functions
  • type NFields (M1 S c f) = 1Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Functions
  • type NFields (f :*: g) = NFields f + NFields gDefined in generic-data-1.1.0.2 · Generic.Data.Internal.Functions