Transmitting Haskell values
Hal Daume III
hdaume at ISI.EDU
Sun Oct 26 07:42:01 EST 2003
I think the standard way would be to use Show and Read and then
send/write/rcv/read strings from the network/disk. Or you could use the
Binary class to get binary representations, but these (sometimes,
depending on which implementation you use) have endianness issues if
you're transmitting between different architectures.
On Sun, 26 Oct 2003, Joachim Durchholz wrote:
> Hi all,
> sorry if it's a FAQ or I'm simply too dumb to look in the right places.
> What I want to do is to send Haskell values over a network to another
> Haskell process. Or save a Haskell value on disk and read it in in a
> later incarnation of the same pogram, or with a different program.
> Is there a good way to do this?
> Or, even better: a good way to find the right documentation for this
> sort of thing?
> Glasgow-haskell-users mailing list
> Glasgow-haskell-users at haskell.org
Hal Daume III | hdaume at isi.edu
"Arrest this man, he talks in maths." | www.isi.edu/~hdaume
More information about the Glasgow-haskell-users