looking at ghc's scores... this would seem to be the next candidate for a rework:
-- $Id: reversefile.ghc.html,v 1.6 2004/10/03 00:44:58 bfulgham Exp $ -- http://www.bagley.org/~doug/shootout/ -- from Julian Assange main = interact $ unlines . reverse . lines Compare this with the gcc implementation which uses buffers and is 68 lines long! Keean. _______________________________________________ Haskell-Cafe mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/haskell-cafe