Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Objects, dynamic cast, Obj.magic abuse and dragons
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-02-29 (10:37)
From: Berke Durak <berke.durak@e...>
Subject: Re: [Caml-list] Objects, dynamic cast, Obj.magic abuse and dragons
Tiphaine.Turpin a écrit :
> Here is another try. it has the drawback that classes need to be 
> parametric, but it seems to work, and to be scalable (the added code is 
> always the same). Of course, some syntactic sugar would help.

That seems to be a very good solution!  I didn't think it was possible.
The classes are parametric but there is only one parameter, right?  So it is
scalable.  Sweet, I'll give it a try.  Thanks!