[Haskell-cafe] Data.Dynamic over the wire

Alfonso Acosta alfonso.acosta at gmail.com
Tue May 13 15:01:56 EDT 2008


On Tue, May 13, 2008 at 7:39 PM, Jules Bean <jules at jellybean.co.uk> wrote:
>  One thing which you can't obviously do is write Read or Show instances
>  for Dynamic. So can we pass Dynamic data over the wire?  If not,
>  Dynamic is limited to the context of "within a single program", and
>  can't be used over the network between cooperating programs, or in
>  file formats, etc.

I've never used hs-plugins, but if I recall properly, it includes its
own implementation of TypeRep (and consequently Dynamic) in order to
overcome the serialization problem you have mentioned.


More information about the Haskell-Cafe mailing list