Agda-2.4.2: A dependently typed functional programming language and proof assistant
Agda.Utils.VarSet
Description
Var field implementation of sets of (small) natural numbers.
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
subtract :: Int -> VarSet -> VarSetSource