wchogg: > > Hi Don, > I have a bit more of a followup, actually. You make use of the built > in bytestring consumer count, which itself is built upon the > foldlChunks function which is only exported in the > ByteString.Lazy.Internal. If I want to make my own efficient > bytestring consumer, is that what I need to use in order to preserve > the inherent laziness of the datastructure?
you can get foldChunks from Data.ByteString.Lazy.Internal, or write your own chunk folder. > Also, I feel a little at a loss for how to make a good bytestring > producer for efficiently _writing_ large swaths of data via writeFile. > Would it be possible to whip up a small example? Using unfoldr? Or Data.Binary? > Oh, and lastly, I apologize to both you & Bryan for making you cry. I > hope you can forgive my cruelty. :) _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
