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

Felipe Lessa felipe.lessa at gmail.com
Mon Oct 27 05:04:06 EDT 2008


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]

=)

-- 
Felipe.


More information about the Haskell-Cafe mailing list