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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

Moduleswagger2-2.9.1Haskell2010

Data.Swagger.Internal.TypeShape

  • 1 type
  • Packageswagger2-2.9.1
  • 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