Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc-lib-parser GHC.Data.Word64Set.Internal Convert the set to a list of elements. Subject to list fusion.
fromList :: Ord k => [(k, v)] -> OMap k vordered-containers Data.Map.Ordered If a key appears multiple times, the first occurrence is used for ordering and the last occurrence is used for its value. The library author welcomes comments on whether this default is sane.
toAscList :: OMap k v -> [(k, v)]ordered-containers Data.Map.Ordered Return key-value pairs in order of increasing key.
fromList :: Ord k => [(k, v)] -> OMap k vordered-containers Data.Map.Ordered.Strict If a key appears multiple times, the first occurrence is used for ordering and the last occurrence is used for its value. The library author welcomes comments on whether this default is sane.
toAscList :: OMap k v -> [(k, v)]ordered-containers Data.Map.Ordered.Strict Return key-value pairs in order of increasing key.
fromList :: Ord a => [a] -> OSet aordered-containers Data.Set.Ordered If a value occurs multiple times, only the first occurrence is used.
-
ordered-containers Data.Set.Ordered Returns values in ascending order. (Use toList to return them in insertion order.)
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.