liftM (foldl (\x y -> max x $ length y) 0 . lines) $hGetContents stdin
oh.. wait.. what is this?In reply to Re^2: Golf: Length of longest line in a file
by mellon85
in thread Golf: Length of longest line in a file
by toolic
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |