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

  • PackageAgda-2.8.0.2
  • Exports25
  • LanguageHaskell2010
  • LicenceMIT
  • SourcePattern.hs
classclass IsWithP p where

Check for with-pattern | p.

Methods

Instances4IsWithP
  • IsWithP PatternDefined in Agda-2.8.0.2 · Agda.Syntax.Concrete.Pattern
  • IsWithP (Pattern' e)Defined in Agda-2.8.0.2 · Agda.Syntax.Abstract.Pattern · orphan

    Check for with-pattern.

  • IsWithP p => IsWithP (Arg p)Defined in Agda-2.8.0.2 · Agda.Syntax.Concrete.Pattern
  • IsWithP p => IsWithP (Named n p)Defined in Agda-2.8.0.2 · Agda.Syntax.Concrete.Pattern

LHS manipulation (see also 'Pattern')

Generic fold

classclass CPatternLike p where

Generic pattern traversal.

See APatternLike.

Methods

Instances9CPatternLike, …

Specific folds.

Compute the context in which the ellipsis occurs, if at all. If there are several occurrences, this is an error. This only counts ellipsis that haven't already been expanded.

Helpers for pattern and lhs parsing