HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Package1.1.0.2Generics

generic-data

Deriving instances with GHC.Generics and related utilities

Modules

  • Generic.DataGeneric combinators to derive type class instances. Orphans The Data.Generic.Orphans module should be imported to derive the following
  • Generic.Data.MicrosurgerySimple operations on generic representations:
  • Generic.Data.OrphansOrphan instances. The orphan instances in this module have been upstreamed in base 4.21 (GHC 9.12).
  • Generic.Data.TypesUtilities to derive and transform generic types.
Internal modules · 15
  • Generic.Data.Internal.CompatShim for backwards compatibility. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.DataGeneric representations as data types. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.EnumGeneric deriving for Enum, Bounded and Ix. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.ErrorError messages. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.FunctionsType-level functions on generic representations. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.GenericallyNewtypes with instances implemented using generic combinators. Warning This is an internal module: it is not subject to any versioning po…
  • Generic.Data.Internal.MetaType metadata accessors Type names, constructor names... Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.MicrosurgerySurgeries that are just coerce. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.NewtypePack/unpack newtypes. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.PreludeGeneric deriving for standard classes in base Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.ReadGeneric implementation of Read Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.ResolversNewtypes with special instances for deriving. Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.ShowGeneric implementation of Show Warning This is an internal module: it is not subject to any versioning policy,
  • Generic.Data.Internal.TraversableGeneric implementation of Foldable and Traversable. There is already a naive implementation using the generic Rep's
  • Generic.Data.Internal.UtilsUtilities. Warning This is an internal module: it is not subject to any versioning policy,

Description

Generic implementations of standard type classes. Operations on generic representations to help using GHC.Generics. See README.

Depends on

5 packages

Used by in this set · 2