HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

ModuleAgda-2.7.0.1Haskell2010

Agda.TypeChecking.DiscrimTree

Imperfect discrimination trees for indexing data by internal syntax.

  • 1 type
  • 4 values
  • PackageAgda-2.7.0.1
  • Exports5
  • LanguageHaskell2010
  • LicenceMIT
  • SourceDiscrimTree.hs
valueinsertDT
  1. :: (Ord a, PrettyTCM a)
  2. => Int

    Number of variables to consider wildcards, e.g. the number of leading invisible pis in an instance type.

  3. -> Term

    The term to use as a key

  4. -> a
  5. -> DiscrimTree a
  6. -> TCM (DiscrimTree a)
#

Insert a value into the discrimination tree, turning variables into rigid locals or wildcards depending on the given scope.