[Haskell-cafe] Re: OCaml list sees abysmal Language Shootout results

MR K P SCHUPKE k.schupke at imperial.ac.uk
Thu Oct 7 07:48:03 EDT 2004

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! 


More information about the Haskell-Cafe mailing list