
From: haskell-cafe-bounces@haskell.org [mailto:haskell-cafe-bounces@haskell.org] On Behalf Of Radu Grigore
Is there a sort function in the libraries that come with GHC (6.4)? My search at http://www.haskell.org/ghc/docs/latest/html/libraries/index.html has failed, but I can't believe there is none.
Data.List.sort (and sortBy): http://www.haskell.org/ghc/docs/latest/html/libraries/base/Data-List.htm l#v%3Asort ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

If you need an easier way to search the Haskell APIs, use Hoogle: http://haskell.org/hoogle/?q=sort You can even search by type signature. BTW, the sort function is part of the Prelude List libraries, if you want to see one possible implementation: http://haskell.org/onlinereport/list.html Jared. -- http://www.updike.org/~jared/ reverse ")-:"

On 2/16/06, Jared Updike
If you need an easier way to search the Haskell APIs, use Hoogle:
Hoogle is very nice. Thanks to everyone who answered my question about finding a sort library function. -- regards, radu http://rgrig.blogspot.com/
participants (3)
-
Bayley, Alistair
-
Jared Updike
-
Radu Grigore