[Shootout-list] shorter Haskell strcat.

Roland C. Dowdeswell elric@imrryr.org
Sun, 29 Aug 2004 17:04:30 -0400


If you want a 2 line strcat for Haskell:

import System(getArgs)
main = getArgs >>= print.length.concat.flip replicate "hello\n".read.head

granted, Haskell is already the shortest one of these, but...

Also, curry is not a Haskell compiler.  curry is a curry compiler.

--
    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/