Claus Reinke <[EMAIL PROTECTED]> writes:
> Can anyone help with loading/saving binary files in GHC
> [snip --wdp]
... Since ghc supports distributed implementations, there
has to be support for distributing arbitrary Haskell
objects to other processors. ...
You got it in one. The "Parallel Haskell" stuff has a
pretty clever scheme for "packing" (that's the keyword...) a
piece of graph and shipping it off to a friend. I'd look in
ghc/runtime/gum/{Pack,Unpack}.lc for the details; there may
be a paper somewhere, too. Not at all sure how to bring
such stuff up to the Ordinary Haskell User level; others
know much more about it than I do.
Will
PS: There are, of course, Glasgow people who are profoundly
interested in persistence, but GHC people w/ time on their
hands have not been among them so far.