
2 Nov
2007
2 Nov
'07
7:37 a.m.
On 11/2/07, Andrew Butterfield
I'm puzzled - when I run this on GHCi (v6.4, Windows XP) I get the following outcome
*Main>main The process cannot access the file because it is being used by another process. hello *Main>
Under GHCi 6.6 I get this: *Main> main bye 0 My guess is that 6.4's readFile always opens the file as soon as it is called, whereas 6.6's readFile delays opening until the list is actually forced. Either way, goblins all round! Stuart