[Haskell-cafe] non lazy io

Bulat Ziganshin bulat.ziganshin at gmail.com
Mon Oct 2 02:18:24 EDT 2006

Hello Matt,

Friday, September 29, 2006, 10:31:10 AM, you wrote:

> I would like a non-lazy alternative to

> readFile

> is there such a thing in the libraries?

i recommend you to use readFile from FPS library. it's strict (unles
you use Lazy module) and then you can either use returned ByteString
directly with a plenty of supported operations, or convert it to
String using unpack. it will be faster than solution by Neil

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

More information about the Haskell-Cafe mailing list