[Haskell-cafe] Unwrapping long lines in text files

Bulat Ziganshin bulat.ziganshin at gmail.com
Sat Aug 14 00:21:06 EDT 2010

Hello michael,

Saturday, August 14, 2010, 5:38:46 AM, you wrote:

> The program below takes a text file and unwraps all lines to 72
> columns, but I'm getting an end of file message at the top of my output.

> How do I lose the EOF?

use isEOF function. even better, use interact

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list