HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Moduleopenapi3-3.2.5Haskell2010

Data.OpenApi.Internal.TypeShape

  • 1 type
  • Packageopenapi3-3.2.5
  • Exports6
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypeShape.hs
datadata TypeShape
#

Shape of a datatype.

Constructors

  • Enumeration

    A simple enumeration.

  • SumOfProducts

    A product or a sum of non-unit products.

  • Mixed

    Mixed sum type with both unit and non-unit constructors.

familytype family GenericHasSimpleShape (t1 :: t) (f :: Symbol) (s :: TypeShape) :: Constraint where
#

Equations

familytype family GenericShape (g :: Type -> Type) :: TypeShape
#

Infer a TypeShape for a generic representation of a type.

Instances6GenericShape