unix-bytestring v0.2.0 (Was: Re: Proposal: add ByteString support to unix:System.Posix.IO API)

Bas van Dijk v.dijk.bas at gmail.com
Sun Mar 6 18:22:37 CET 2011


On 6 March 2011 13:16, wren ng thornton <wren at freegeek.org> wrote:
> One thing I considered was to offer both versions, one for compatibility
> with the old string versions (and for decluttering client code)[1] and then
> one that just gives the bytestring. Of course, then the issue is what to
> name them...
>
> So the big question is: how minimal should we be, vs how much in the way of
> convenience functions should we offer?

It would be great if you could analyse the direct reverse dependencies
of unix to see how much fdRead is used and how much work it is to
adapt packages to an fdRead which only returns the ByteString:

http://bifunctor.homelinux.net/~roel/cgi-bin/hackage-scripts/revdeps/unix-2.4.2.0#direct

Bas



More information about the Libraries mailing list