[Haskell-cafe] Data.Binary hanging when used with socket - feature?

Gregory Collins greg at gregorycollins.net
Sun Jun 17 21:03:08 CEST 2012


On Sun, Jun 17, 2012 at 7:40 PM, Paul Brenman <paul.brenman at gmail.com>wrote:

>
> Appreciate any advice - production code.
>

Don't use lazy bytestrings for I/O -- use enumerator/conduit/pipes and hook
it up to an attoparsec parser instead. Porting code from the Get monad to
attoparsec's Parser monad should be trivial.

G
-- 
Gregory Collins <greg at gregorycollins.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120617/7e1a6d3f/attachment.htm>


More information about the Haskell-Cafe mailing list