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.DiscrimTree

Imperfect discrimination trees for indexing data by internal syntax.

  • 1 type
  • 4 values
  • PackageAgda-2.8.0.2
  • 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.