Proposal: add ByteString support to unix:System.Posix.IO API
aslatter at gmail.com
Mon Feb 28 18:27:06 CET 2011
On Mon, Feb 28, 2011 at 11:20 AM, Bryan O'Sullivan <bos at serpentine.com> wrote:
> On Sun, Feb 27, 2011 at 9:18 PM, wren ng thornton <wren at freegeek.org> 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. 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 .
> 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'.
More information about the Libraries