
28 Feb
2011
28 Feb
'11
5:27 p.m.
On Mon, Feb 28, 2011 at 11:20 AM, Bryan O'Sullivan
On Sun, Feb 27, 2011 at 9:18 PM, wren ng thornton
wrote: I've written variants of the System.Posix.IO API for strict and lazy ByteStrings which are currently lingering in their own unpublished package[1]. It's silly to have a separate package for just four functions, so I'd like to see it combined into the unix package. I don't have access to create a new ticket with the patch, but it's available at [2].
I think that the strict bytestring version should just replace the current function in System.Posix.IO, and the lazy version should not go in at all. This is the approach taken by the network package, and it's cleanest.
'network' has a lazy variant, which calls 'writev'. Antoine