We don't bite newbies here... much | |
PerlMonks |
Re^2: Golf: Length of longest line in a fileby ambrus (Abbot) |
on Jul 04, 2010 at 10:44 UTC ( [id://847968]=note: print w/replies, xml ) | Need Help?? |
Wouldn't getContents from the prelude work instead of IO.getContents? This shortens a lot because now you can use ghc -e instead of runhaskell, eg.
We also use some other functions of the Prelude for brevity. Note that the code can't be in the same argument as -e.
In Section
Meditations
|
|