
29 Jun
2011
29 Jun
'11
6:23 p.m.
On Wed, Jun 29, 2011 at 7:11 PM, Gracjan Polak
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 compatibility)
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. Cheers! -- Felipe.