
18 Dec
2009
18 Dec
'09
12:53 a.m.
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