
1 Oct
2006
1 Oct
'06
7:17 p.m.
Hi,
I would like a non-lazy alternative to
readFile
is there such a thing in the libraries?
Not as far as I know, but you can achieve something similar by doing: -- untested readFile' file = do src <- readFile file return $ seq (length src) src What is the particular reason you want a strict readFile for? Thanks Neil