Proposal: add ByteString support to unix:System.Posix.IO API

Bryan O'Sullivan bos at serpentine.com
Mon Feb 28 18:20:53 CET 2011


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[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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/libraries/attachments/20110228/8ec0a85d/attachment.htm>


More information about the Libraries mailing list