On 11/2/07, Andrew Butterfield <[EMAIL PROTECTED]> wrote: > 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 _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe