Fwd: [Haskell-cafe] Re: [Haskell] ANNOUNCE: RefSerialize-0.2.1

Alberto G. Corona agocorona at gmail.com
Mon Nov 3 16:01:59 EST 2008

I forgot to cc to haskell-cafe:

---------- Forwarded message ----------
From: Alberto G. Corona <agocorona at gmail.com>
Date: 2008/11/2
Subject: Re: [Haskell-cafe] Re: [Haskell] ANNOUNCE: RefSerialize-0.2.1
To: Bulat Ziganshin <Bulat.Ziganshin at 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 at 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 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081103/a5427e8b/attachment.htm

More information about the Haskell-Cafe mailing list