Hoogle Search
Within LTS Haskell 24.61 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
fromDistinctAscList :: [Key] -> Word64Setghc-lib-parser GHC.Data.Word64Set.Internal Build a set from an ascending list of distinct elements. The precondition (input list is strictly ascending) is not checked.
fromList :: [Key] -> Word64Setghc-lib-parser GHC.Data.Word64Set.Internal Create a set from a list of integers.
toAscList :: Word64Set -> [Key]ghc-lib-parser GHC.Data.Word64Set.Internal Convert the set to an ascending list of elements. Subject to list fusion.
toDescList :: Word64Set -> [Key]ghc-lib-parser GHC.Data.Word64Set.Internal Convert the set to a descending list of elements. Subject to list fusion.
-
ghc-lib-parser GHC.Data.Word64Set.Internal Convert the set to a list of elements. Subject to list fusion.
fromAscList :: [a] -> MaxQueue apqueue Data.PQueue.Max Constructs a priority queue from an ascending list. Warning: Does not check the precondition.
fromDescList :: [a] -> MaxQueue apqueue Data.PQueue.Max Constructs a priority queue from a descending list. Warning: Does not check the precondition.
fromList :: Ord a => [a] -> MaxQueue apqueue Data.PQueue.Max Constructs a priority queue from an unordered list.
toAscList :: Ord a => MaxQueue a -> [a]pqueue Data.PQueue.Max Extracts the elements of the priority queue in ascending order.
toDescList :: Ord a => MaxQueue a -> [a]pqueue Data.PQueue.Max Extracts the elements of the priority queue in descending order.