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

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

ModuleAgda-2.8.0.2Haskell2010

Agda.Syntax.Abstract.UsedNames

  • 1 value
  • PackageAgda-2.8.0.2
  • Exports1
  • LanguageHaskell2010
  • LicenceMIT
  • SourceUsedNames.hs
valueallUsedNames :: Expr -> Set Name
#

All names used in an abstract expression. This is used when rendering clauses to figure out which (implicit) pattern variables must be preserved. For example, the for f : Nat → Nat, the clause f {n} = 0 can be printed as f = 0 (dropping the n), but f {n} = n must preserve the n.