Thanks, I'll play with that. martin On Wed, Feb 8, 2017 at 10:47 PM, François Pottier wrote: > Le 09/02/2017 02:57, Martin DeMello a écrit : > >> Is this possible? I couldn't find the right syntax to do it if so. >> > > I don't think so. The best workaround I can think of is to wrap > your class in an "include struct", like this: > > include struct > open My_module > class foo = > ... > end > end > > I hope this helps, > > -- > François Pottier > francois.pottier@inria.fr > http://gallium.inria.fr/~fpottier/ > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa.inria.fr/sympa/arc/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >