Re: [Haskell-cafe] qsort

2009-08-16 Thread Gwern Branwen
On Sat, Aug 15, 2009 at 12:09 PM, Daniel Fischerdaniel.is.fisc...@web.de wrote: It compiles as is, and if it satisfies readability requirements, somebody can put it on the wiki. http://www.haskell.org/haskellwiki/?title=Introduction%2FDirect_Translationdiff=29575oldid=21061 I've done so;

[Haskell-cafe] qsort

2009-08-15 Thread Peter Verswyvelen
I was reading the introduction at http://www.haskell.org/haskellwiki/Introduction where the typical Haskell version of qsort is given qsort [] = [] qsort (x:xs) = qsort (filterhttp://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#v:filter ( x) xs)

Re: [Haskell-cafe] qsort

2009-08-15 Thread Daniel Fischer
Am Samstag 15 August 2009 10:09:28 schrieb Peter Verswyvelen: I was reading the introduction at http://www.haskell.org/haskellwiki/Introduction where the typical Haskell version of qsort is given qsort [] = [] qsort (x:xs) = qsort