Re: [Haskell-cafe] library sort

2006-03-08 Thread John Hughes
Am Samstag, 4. März 2006 21:30 schrieb Neil Mitchell: And a related question is: Which packages are searchable by Hoogle? The best answer to that is some. I intentionally excluded OpenGL and other graphics ones because they have a large interface and yet are not used by most people

Re: [Haskell-cafe] library sort

2006-03-08 Thread Sven Panne
Am Dienstag, 7. März 2006 14:24 schrieb Neil Mitchell: I would also imagine that Joe Programmer is more likely to use wxHaskell or Gtk2Hs than those [...] Just a (hopefully final) remark about this, because the above statement seems to imply something that is not completely true: 3 of the 4

Re: [Haskell-cafe] library sort

2006-03-08 Thread Ketil Malde
Neil Mitchell [EMAIL PROTECTED] writes: And a related question is: Which packages are searchable by Hoogle? The best answer to that is some. I intentionally excluded OpenGL and other graphics ones because they have a large interface and yet are not used by most people using Haskell. I'm not

Re: [Haskell-cafe] library sort

2006-03-08 Thread Neil Mitchell
I'm not sure I agree that is a good reason. I never claimed it was a good reason, merely that it was a reason :) Hoogle 2 only allowed you to search the Haskell 98 libraries, which obviously everyone wants to do. Hoogle 3 is still in beta - I introduced searching more, but have not got round to

Re: [Haskell-cafe] library sort

2006-03-08 Thread Duncan Coutts
On Wed, 2006-03-08 at 11:25 +0100, John Hughes wrote: When I surveyed Haskell users, I asked respondents to name the most important tools and libraries they use. (Caveat: respondents saw the list of tools and libraries already named, and could include these just by selecting them, so tools

Re: [Haskell-cafe] library sort

2006-03-08 Thread Sven Panne
Am Mittwoch, 8. März 2006 15:11 schrieb Neil Mitchell: I never claimed it was a good reason, merely that it was a reason :) [...] :-) Anyway, my current plan is: * lots of smallish packages, and one big base package which is the default search * OpenGL, wxHaskell, Gtk2Hs, Darcs, GHC API,

Re: [Haskell-cafe] library sort

2006-03-07 Thread Sven Panne
Am Samstag, 4. März 2006 21:30 schrieb Neil Mitchell: And a related question is: Which packages are searchable by Hoogle? The best answer to that is some. I intentionally excluded OpenGL and other graphics ones because they have a large interface and yet are not used by most people using

Re: [Haskell-cafe] library sort

2006-03-07 Thread Neil Mitchell
Well, this a bold assumption IMHO, and I'm not particularly happy with that, as you can probably imagine. I would also imagine that Joe Programmer is more likely to use wxHaskell or Gtk2Hs than those - however because those are outside the standard tree they don't make it in. I don't think much

Re: [Haskell-cafe] library sort

2006-03-04 Thread Sven Panne
Am Montag, 20. Februar 2006 12:46 schrieb Simon Peyton-Jones: Strangely, Hoogle isn't easy to find at haskell.org. I'm not sure where the best place to add a link would be: perhaps near the top of the libraries-and-tools page? It's all wikified now, so would someone like to add it somewhere

Re: [Haskell-cafe] library sort

2006-03-04 Thread Neil Mitchell
And a related question is: Which packages are searchable by Hoogle? The best answer to that is some. I intentionally excluded OpenGL and other graphics ones because they have a large interface and yet are not used by most people using Haskell. I have recently patched Haddock so it will directly

RE: [Haskell-cafe] library sort

2006-02-20 Thread Simon Peyton-Jones
PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of | Radu Grigore | Sent: 17 February 2006 14:11 | To: Haskell Cafe | Subject: Re: [Haskell-cafe] library sort | | On 2/16/06, Jared Updike [EMAIL PROTECTED] wrote: | If you need an easier way to search the Haskell APIs, use Hoogle: | | Hoogle is very

Re: [Haskell-cafe] library sort

2006-02-17 Thread Radu Grigore
On 2/16/06, Jared Updike [EMAIL PROTECTED] wrote: 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/

RE: [Haskell-cafe] library sort

2006-02-16 Thread Bayley, Alistair
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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

Re: [Haskell-cafe] library sort

2006-02-16 Thread J. Garrett Morris
Data.List contains sort :: Ord a = [a] - [a] and sortBy :: (a - a - Ordering) - [a] - [a] I believe they're currently implemented using merge sort, at least in GHC. /g On 2/16/06, Radu Grigore [EMAIL PROTECTED] wrote: Is there a sort function in the libraries that come with GHC (6.4)? My

Re: [Haskell-cafe] library sort

2006-02-16 Thread Neil Mitchell
Hi Radu, Is there a sort function in the libraries that come with GHC (6.4)? import Data.List Or just hit Hoogle with sort http://haskell.org/hoogle/?q=sort Thanks Neil On 16/02/06, Radu Grigore [EMAIL PROTECTED] wrote: My search at

Re: [Haskell-cafe] library sort

2006-02-16 Thread Cale Gibbard
Yes, it's in Data.List, and called 'sort'. You can use the index (see top right) to look for it under 'S'. - Cale On 16/02/06, Radu Grigore [EMAIL PROTECTED] wrote: Is there a sort function in the libraries that come with GHC (6.4)? My search at