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

GHC 9.14.1 · lts/ghc-9.14.x · 3e2d568 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.Rewriting.NonLinPattern

Various utility functions dealing with the non-linear, higher-order patterns used for rewrite rules.

  • 4 classes
  • 9 values
  • PackageAgda-2.8.0.2
  • Exports13
  • LanguageHaskell2010
  • LicenceMIT
  • SourceNonLinPattern.hs
classclass PatternFrom a b where
#

Turn a term into a non-linear pattern, treating the free variables as pattern variables. The first argument indicates the relevance we are working under: if this is Irrelevant, then we construct a pattern that never fails to match. The second argument is the number of bound variables (from pattern lambdas). The third argument is the type of the term.

Methods

Instances7PatternFrom, …
classclass NLPatToTerm p a where
#

Convert from a non-linear pattern to a term.

Methods

Instances10NLPatToTerm, …
classclass NLPatVars a where
#

Gather the set of pattern variables of a non-linear pattern

Methods

Instances6NLPatVars
classclass GetMatchables a where
#

Get all symbols that a non-linear pattern matches against

Methods

Instances11GetMatchables, …

Orphan instances

3 instances