Agda-2.4.2: A dependently typed functional programming language and proof assistant

Safe HaskellSafe-Inferred

Agda.Utils.VarSet

Description

Var field implementation of sets of (small) natural numbers.

Documentation

type VarSet = IntSetSource

union :: IntSet -> IntSet -> IntSet

unions :: [IntSet] -> IntSet

member :: Int -> IntSet -> Bool

empty :: IntSet

delete :: Int -> IntSet -> IntSet

singleton :: Int -> IntSet

fromList :: [Int] -> IntSet

toList :: IntSet -> [Int]

isSubsetOf :: IntSet -> IntSet -> Bool

null :: IntSet -> Bool