[Haskell-cafe] Double free-ing (was: Reading from a process)
Jason Dusek
jason.dusek at gmail.com
Thu Dec 17 19:53:27 EST 2009
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
More information about the Haskell-Cafe
mailing list