You shouldn't have to use `malloc` and `free` to accumulate
  input. Just append to a list or a ByteString, which is to say,
  add a byte to a ByteString to get a new ByteString. Yes, really.

  Maybe there is something I am missing here; but I can't see any
  reason to adopt this unnatural (for Haskell) approach.

--
Jason Dusek
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to