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.Utils.IntSet.Infinite

Possibly infinite sets of integers (but with finitely many consecutive segments). Used for checking guard coverage in int/nat cases in the treeless compiler.

  • 1 type
  • 9 values
  • PackageAgda-2.7.0.1
  • Exports10
  • LanguageHaskell2010
  • LicenceMIT
  • SourceInfinite.hs
datadata IntSet
#

Represents a set of integers. Invariants: - All cannot be the argument to Below or Above - at most one IntsBelow - at most one IntsAbove - if `Below lo` and `Below hi`, then `lo < hi` - if `Below lo .. (Some xs)` then `all (> lo) xs` - if `Above hi .. (Some xs)` then `all (< hi - 1) xs`

Instances4Eq, Show, Semigroup, Monoid
  • Eq IntSetDefined in Agda-2.7.0.1 · Agda.Utils.IntSet.Infinite
  • Show IntSetDefined in Agda-2.7.0.1 · Agda.Utils.IntSet.Infinite
  • Semigroup IntSetDefined in Agda-2.7.0.1 · Agda.Utils.IntSet.Infinite
  • Monoid IntSetDefined in Agda-2.7.0.1 · Agda.Utils.IntSet.Infinite