* [Caml-list] marshaling polymorphic variants @ 2003-04-13 14:00 Henri Dubois-Ferriere 2003-04-14 0:26 ` Jacques Garrigue 0 siblings, 1 reply; 2+ messages in thread From: Henri Dubois-Ferriere @ 2003-04-13 14:00 UTC (permalink / raw) To: caml-list Hi, Is the typing behavior of {un,}marshaling polymorphic variants specified anywhere? I didn't find any explicit mention of it in the docs. thanks, Henri ------------------- 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] marshaling polymorphic variants 2003-04-13 14:00 [Caml-list] marshaling polymorphic variants Henri Dubois-Ferriere @ 2003-04-14 0:26 ` Jacques Garrigue 0 siblings, 0 replies; 2+ messages in thread From: Jacques Garrigue @ 2003-04-14 0:26 UTC (permalink / raw) To: henri.dubois-ferriere; +Cc: caml-list 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-04-14 0:26 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2003-04-13 14:00 [Caml-list] marshaling polymorphic variants Henri Dubois-Ferriere 2003-04-14 0:26 ` Jacques Garrigue
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox