HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

ModuleAgda-2.8.0.2Haskell2010

Agda.TypeChecking.DiscrimTree

Imperfect discrimination trees for indexing data by internal syntax.

Synopsis
  • 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.