toAscList

toAscList :: IntMap a -> [(Key, a)]
containers Data.IntMap.Strict, containers Data.IntMap.Lazy
O(n). Convert the map to a list of key/value pairs keys are in ascending order. Subject to list fusion. > toAscList (fromList [(5,"a"), (3,"b")]) == [(3,"b"), (5,"a")]
toAscList :: IntSet -> [Key]
containers Data.IntSet
O(n). Convert the set to an ascending list of elements. Subject to list fusion.
toAscList :: Map k a -> [(k, a)]
containers Data.Map.Lazy, containers Data.Map.Strict
O(n). Convert the map to a list of key/value pairs keys are in ascending order. Subject to list fusion. > toAscList (fromList [(5,"a"), (3,"b")]) == [(3,"b"), (5,"a")]
toAscList :: Set a -> [a]
containers Data.Set
O(n). Convert the set to an ascending list of elements. Subject to list fusion.