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

Moduleparsec-3.1.18.0Haskell2010

Text.Parsec.Language

A helper module that defines some language definitions that can be used to instantiate a token parser (see Text.Parsec.Token).

  • 2 types
  • 7 values
  • Packageparsec-3.1.18.0
  • Exports9
  • LanguageHaskell2010
  • LicenceBSD-2-Clause
  • SourceLanguage.hs
valueemptyDef :: LanguageDef st
#

This is the most minimal token definition. It is recommended to use this definition as the basis for other definitions. emptyDef has no reserved names or operators, is case sensitive and doesn't accept comments, identifiers or operators.

valuehaskellStyle :: LanguageDef st
#

This is a minimal token definition for Haskell style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.

valuejavaStyle :: LanguageDef st
#

This is a minimal token definition for Java style languages. It defines the style of comments, valid identifiers and case sensitivity. It does not define any reserved words or operators.