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.
toAscList :: Word64Map a -> [(Key, a)]ghc-lib-parser GHC.Data.Word64Map.Strict.Internal Convert the map to a list of key/value pairs where the keys are in ascending order. Subject to list fusion.
toAscList (fromList [(5,"a"), (3,"b")]) == [(3,"b"), (5,"a")]
toDescList :: Word64Map a -> [(Key, a)]ghc-lib-parser GHC.Data.Word64Map.Strict.Internal Convert the map to a list of key/value pairs where the keys are in descending order. Subject to list fusion.
toDescList (fromList [(5,"a"), (3,"b")]) == [(5,"a"), (3,"b")]
toList :: Word64Map a -> [(Key, a)]ghc-lib-parser GHC.Data.Word64Map.Strict.Internal Convert the map to a list of key/value pairs. Subject to list fusion.
toList (fromList [(5,"a"), (3,"b")]) == [(3,"b"), (5,"a")] toList empty == []
fromAscList :: [Key] -> Word64Setghc-lib-parser GHC.Data.Word64Set Build a set from an ascending list of elements. The precondition (input list is ascending) is not checked.
fromDistinctAscList :: [Key] -> Word64Setghc-lib-parser GHC.Data.Word64Set 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 Create a set from a list of integers.
toAscList :: Word64Set -> [Key]ghc-lib-parser GHC.Data.Word64Set Convert the set to an ascending list of elements. Subject to list fusion.
toDescList :: Word64Set -> [Key]ghc-lib-parser GHC.Data.Word64Set Convert the set to a descending list of elements. Subject to list fusion.
-
ghc-lib-parser GHC.Data.Word64Set Convert the set to a list of elements. Subject to list fusion.
fromAscList :: [Key] -> Word64Setghc-lib-parser GHC.Data.Word64Set.Internal Build a set from an ascending list of elements. The precondition (input list is ascending) is not checked.