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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

ModuleCabal-syntax-3.18.1.0Haskell2010

Distribution.FieldGrammar.Class

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

g is parametrised by

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

  • a type of the field.

Methods

Instances3FieldGrammar