[Haskell-cafe] File I/O question

Don Stewart dons at galois.com
Wed Mar 12 16:42:33 EDT 2008


andrewcoppin:
> Hi Cafe.
> 
> There's good news and there's bad news.
> 
> The bad news is... I'm back. [Did I miss anything good?]
> 
> The good news is... I have an actual question to ask as well.
> 
> When I write to a file using System.IO, the file is locked for exclusive 
> access. I gather this is as specified in the Haskell Report. Which is 
> nice, but... I'd actually prefer the file to *not* be locked. Anybody 
> know how to do that?

Hey Andrew,

What are you trying to do? Read and write to the same file (if so, you
need to use strict IO), or are you trying something sneakier?

-- Don


More information about the Haskell-Cafe mailing list