lemmih at gmail.com
Thu Dec 21 04:48:15 EST 2006
On 12/20/06, Bulat Ziganshin <bulat.ziganshin at gmail.com> wrote:
> Hello Joachim,
> Wednesday, December 20, 2006, 11:22:24 AM, you wrote:
> > The update code would now have to unmarshall a blob of game data,
> > traverse it to find all instances of SomeData, wrap them in a
> > one-element list to turn them into SomeData1s, reconstruct the blob of
> > game data with the SomeData1 items, and marshall the result back out to
> > disk.
> marshalling and unmarshalling code can be geberated automatically using
> Template Haskell (,) or Data.Generics 
> > That would mean I couldn't use infinite data structures in data that
> > goes out to disk.
>  also supports infinite data structures
No, it only supports cyclic data structures.
More information about the Haskell-Cafe