"import qualified IO (readFile)" gives IO.readFile not defined
17 Dec
2001
17 Dec
'01
8:29 a.m.
Hi guys, With import qualified IO (readFile) I get Error when renaming:: Identifier IO.readFile used at 2:22 is not defined. I vaguely remember seeing something like this on one of the lists recently, but I can't find it now, so my apologies if this has already been reported. Thanks Ian
17 Dec
17 Dec
9:09 p.m.
import qualified IO (readFile)
Error when renaming:: Identifier IO.readFile used at 2:22 is not defined.
Indeed, at the moment readFile is not defined in the IO module. It is actually a Prelude function. However, according to the Report, IO ought to re-export it (and all the other PreludeIO functions), so I'll add a fix. Regards, Malcolm
8905
Age (days ago)
8906
Last active (days ago)
1 comments
2 participants
participants (2)
-
Ian Lynagh -
Malcolm Wallace