[Haskell-cafe] File I/O question

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Mar 13 06:39:31 EDT 2008


Hello Andrew,

Wednesday, March 12, 2008, 10:06:44 PM, you wrote:

> 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?

one (and only?) possible way is to use Streams library which happens
to not lock files:

http://haskell.org/haskellwiki/Library/Streams

-- 
Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com



More information about the Haskell-Cafe mailing list