Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] marshaling polymorphic variants
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Garrigue <garrigue@k...>
Subject: Re: [Caml-list] marshaling polymorphic variants
From: Henri Dubois-Ferriere <henridf@lcavsun1.epfl.ch>

> Is the typing behavior of {un,}marshaling polymorphic variants specified 
> anywhere? I didn't find any explicit mention of it in the docs.

What do you mean by "typing behaviour"?
The type should be just the same...
The internal representation itself is described in section 18.3.6 of
the reference manual.
If you are talking about marshalling to and from C, and you have lots
of them, it may be easier (and more efficient) to use the varcc tool
included in lablgtk, which generates headers to easily convert tags.

        Jacques Garrigue

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners