Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
range-set-list Data.RangeSet.IntMap Internally set is represented as sorted list of distinct inclusive ranges.
isSubsetOf :: RIntSet -> RIntSet -> Boolrange-set-list Data.RangeSet.IntMap O(n+m). Is this a subset? (s1 isSubsetOf s2) tells whether s1 is a subset of s2.
isSubsetRangeList :: Ord a => [(a, a)] -> [(a, a)] -> Boolrange-set-list Data.RangeSet.Internal Determine if the first list is a subset of the second.
rangeIsSubsetList :: Ord a => a -> a -> [(a, a)] -> Maybe [(a, a)]range-set-list Data.RangeSet.Internal Determine if [x,y] is a subset of the list, returning the list right of y if so.
-
range-set-list Data.RangeSet.List Internally set is represented as sorted list of distinct inclusive ranges.
isSubsetOf :: Ord a => RSet a -> RSet a -> Boolrange-set-list Data.RangeSet.List O(n+m). Is this a subset? (s1 isSubsetOf s2) tells whether s1 is a subset of s2.
toSet :: Enum a => RSet a -> Set arange-set-list Data.RangeSet.List O(n*r). Convert the set to a Set of elements. r is the size of longest range.
-
range-set-list Data.RangeSet.Map Internally set is represented as sorted list of distinct inclusive ranges.
isSubsetOf :: Ord a => RSet a -> RSet a -> Boolrange-set-list Data.RangeSet.Map O(n+m). Is this a subset? (s1 isSubsetOf s2) tells whether s1 is a subset of s2.
toSet :: Ord a => Ranges a -> Set (Range a)ranges Data.Ranges Allows quick lookups using ranges.