---------- Forwarded message ----------
From:
Alberto G. Corona <agocorona@gmail.com>
Date: 2008/11/2
Subject: Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: RefSerialize-0.2.1
To: Bulat Ziganshin <
Bulat.Ziganshin@gmail.com>
SerTH is a binary serialization library for Haskell.
It supports serializing cyclic datatypes in a fast binary
format. SerTH uses template haskell for deriving the
serializing interface for new datatypes.
Too bad...I did not know it. Not even many people in the #haskell channel, where i discussed about how badly a functionality such that is needed.
It restores the references when data is deserialized?. My package is text oriented and the serialization is readable and eval-uable, so can be used also for debugging purposes.
I use System.Mem.StableName. for it.
2008/11/2 Bulat Ziganshin
<bulat.ziganshin@gmail.com>
Hello Alberto,
Sunday, November 2, 2008, 5:02:10 PM, you wrote:
> Read, Show and Data.Binary do not check for repeated references to
> the same data address.
afair, SerTH does it, using GHC's internal address compare function
what way to check for copies you use?
--
Best regards,
Bulat mailto:Bulat.Ziganshin@gmail.com