2009/05/02 Krzysztof Skrzętnicki <gte...@gmail.com>: > 2009/05/02 Jason Dusek <jason.du...@gmail.com>: >> I believe Data.Binary includes a header with the data it >> serializes. In consequence, the second and all following >> arrays will be invisible. > > I didn't check the Binary instance for arrays, however I > belive it's not true. Consider Binary instances for tuples:
These instances describe serializers for tuples; however, there is nothing preventing Data.Binary from tacking on a length header or anything else like that when `encode` is called. The original poster should try serializing a tuple of arrays instead of serializing each array individually. > If what you are saying would be true, the tuple instances > would be incorrect for array tuples. What is an array tuple? -- Jason Dusek _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe