From: panne Date: Sat, 22 Jan 2005 12:18:49 +0000 (+0000) Subject: [project @ 2005-01-22 12:18:49 by panne] X-Git-Tag: nhc98-1-18-release~84 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=b6290b7ca3cfc17995689e0656effed704f0a893;hp=6350abd168b45763b2db174ebd3320bfaf705eec;p=ghc-base.git [project @ 2005-01-22 12:18:49 by panne] Doc change only: I don't think that toList should give the guarantee that the resulting list is in ascending order... --- diff --git a/Data/Set.hs b/Data/Set.hs index 7e07fbe..4b1e3a9 100644 --- a/Data/Set.hs +++ b/Data/Set.hs @@ -427,7 +427,7 @@ elems s {-------------------------------------------------------------------- Lists --------------------------------------------------------------------} --- | /O(n)/. Convert the set to an ascending list of elements. +-- | /O(n)/. Convert the set to a list of elements. toList :: Set a -> [a] toList s = toAscList s