[Haskell-cafe] Efficient string output

Johan Tibell johan.tibell at gmail.com
Mon Feb 9 07:57:52 EST 2009

On Mon, Feb 9, 2009 at 1:22 PM, Ketil Malde <ketil at malde.org> wrote:
> Johan Tibell <johan.tibell at gmail.com> writes:
>> If so, you might want to use `writev` to avoid extra copying.
> Is there a Haskell binding somewhere, or do I need to FFI the system
> call?  Googling 'writev haskell' didn't turn up anything useful.

To my knowledge there's no binding out there. We will include one for
sockets in the next release of network-bytestring. You might find the
code here useful if you want to write your own:




More information about the Haskell-Cafe mailing list