[Haskell-cafe] serialize an unknown type

Brandon Allbery allbery.b at gmail.com
Sun Oct 21 18:59:56 CEST 2012


On Sun, Oct 21, 2012 at 12:39 PM, Corentin Dupont <corentin.dupont at gmail.com
> wrote:

> Nobody on this one?
> Here is a simplified version:
>
> data Event a where
>     InputChoice ::  a -> Event a
>
> How to serialize/deserialize this?
>

How were you expecting to serialize/deserialize a function?

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix/linux, openafs, kerberos, infrastructure          http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121021/a7f46906/attachment.htm>


More information about the Haskell-Cafe mailing list