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

ModuleCabal-syntax-3.16.0.0Haskell2010

Distribution.FieldGrammar.Class

  • 1 class
  • 5 values
classclass (c SpecVersion, c TestedWith, c SpecLicense, c Token, c Token', c FilePathNT) => FieldGrammar (c :: Type -> Constraint) (g :: Type -> Type -> Type) | g -> c where
#

FieldGrammar is parametrised by

  • s which is a structure we are parsing. We need this to provide prettyprinter functionality

  • a type of the field.

Note: We'd like to have forall s. Applicative (f s) context.

Methods

Instances3FieldGrammar