[Haskell-cafe] Exclusive mode in openFile
Felipe Almeida Lessa
felipe.lessa at gmail.com
Thu Jun 30 00:23:19 CEST 2011
On Wed, Jun 29, 2011 at 7:11 PM, Gracjan Polak <gracjanpolak at gmail.com> wrote:
> Proper way to handle this is probably to add additional Bool parameter to mkFD,
> fdToHandle and GHC.IO.FD.openFile that says if Report's semantics should be held
> or not. Then openFileShared can be build on top of that.
> (Possibly primed versions of these function will be needed to keep backward
> If this could help anybody else out there beside me I could make this proposal
> more concrete and follow library change procedure properly. If not I can live
> with what I have hacked together till now.
> Is there any interest in such a change?
There should be at least something on the docs of openFile. But I
think that openFileShared may be handy.
More information about the Haskell-Cafe