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

Moduleopenapi3-3.2.4Haskell2010

Data.OpenApi.Internal.TypeShape

  • 1 type
  • Packageopenapi3-3.2.4
  • 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 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