-- | /O(n)/. Convert the set to an ascending list of elements. Subject to list fusion.
toAscList :: Set a -> [a]
toAscList = foldr (:) []
toAscList :: Set a -> [a]
toAscList = foldr (:) []
toAscList = foldr (:) []