HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

ModuleCabal-syntax-3.16.0.0Haskell2010

Distribution.FieldGrammar.Class

Synopsis
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