HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

ModuleAgda-2.8.0.2Haskell2010

Agda.Syntax.Concrete.Operators.Parser

Contents
  1. Parser combinators
Synopsis
  • PackageAgda-2.8.0.2
  • Exports16
  • LanguageHaskell2010
  • LicenceMIT
  • SourceParser.hs
valueparse :: IsExpr e => (ParseSections, Parser e a) -> [e] -> [a]

Runs a parser. If sections should be parsed, then identifiers with at least two name parts are split up into multiple tokens, using PositionInName to record the tokens' original positions within their respective identifiers.

Parser combinators

Parses a split-up, unqualified name consisting of at least two name parts.

The parser does not check that underscores and other name parts alternate. The range of the resulting name is the range of the first name part that is not an underscore.

familytype family OperatorType (k :: NotationKind) e

Used to define the return type of opP.

Instances4OperatorType