[Haskell-cafe] Re: External Sort: Sort a 10-million integer file with just 256M of ram.

Achim Schneider barsoap at web.de
Mon Oct 27 06:50:15 EDT 2008


"Felipe Lessa" <felipe.lessa at gmail.com> wrote:

> On Mon, Oct 27, 2008 at 6:47 AM, Achim Schneider <barsoap at web.de>
> wrote:
> > Don't you slam pointless style!
> 
> main = mapM_ (($ [1..10^8::Int]) . (.) (putStrLn . show)) [last, head]
> 
> =)
> 
Hmmm... Template Haskell... repetitive code... deficiency...

-- 
(c) this sig last receiving data processing entity. Inspect headers
for copyright history. All rights reserved. Copying, hiring, renting,
performance and/or quoting of this signature prohibited.



More information about the Haskell-Cafe mailing list