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.
toDescList :: IntMap a -> [(Key, a)]containers Data.IntMap.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 :: IntMap a -> [(Key, a)]containers Data.IntMap.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] -> IntSetcontainers Data.IntSet Build a set from an ascending list of elements. The precondition (input list is ascending) is not checked.
fromDistinctAscList :: [Key] -> IntSetcontainers Data.IntSet Build a set from an ascending list of distinct elements. The precondition (input list is strictly ascending) is not checked.
-
containers Data.IntSet Create a set from a list of integers.
-
containers Data.IntSet Convert the set to an ascending list of elements. Subject to list fusion.
-
containers Data.IntSet Convert the set to a descending list of elements. Subject to list fusion.
-
containers Data.IntSet Convert the set to a list of elements. Subject to list fusion.
fromAscList :: [Key] -> IntSetcontainers Data.IntSet.Internal Build a set from an ascending list of elements. The precondition (input list is ascending) is not checked.
fromDistinctAscList :: [Key] -> IntSetcontainers Data.IntSet.Internal Build a set from an ascending list of distinct elements. The precondition (input list is strictly ascending) is not checked.