[Haskell-cafe] Re: How to serialize thunks?

Neil Mitchell ndmitchell at gmail.com
Thu Dec 21 06:14:46 EST 2006


Hi

> > > All those libraries really force the data because they all are written
> > > in Haskell. If you want to serialize thunks then you will need some
> > > support from RTS.
> >
> > Good to hear that my conjectures aren't too far from reality.
> >
> > Does any Haskell implementation have that kind of RTS support?
>
> Not yet. I ever don't know of anyone planning to do that.

Actually I think Yhc has exactly this kind of support, and you can
even ship these thunks over the wire and reconstruct them on a
different machine :)

http://darcs.haskell.org/yhc/src/packages/yhc-base-1.0/YHC/Runtime/API.hs

Poorly documented, but it does work. Use at your own risk!

Thanks

Neil


More information about the Haskell-Cafe mailing list