English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] About polymorphic methods and recursive classes
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-03-25 (16:06)
From: Sebastien Briais <sebastien.briais@e...>
Subject: Re: [Caml-list] About polymorphic methods and recursive classes
Florian Hars wrote:

> Sebastien Briais wrote:
>> But what is the reason of this limitation ? I do not see the reasons 
>> since for example, in Generic Java, such a definition is correct
> I don't know if it is directly related to your problem, but Generic 
> Java is a bad reference point, because it's type inference is know to 
> be unsound:
> http://www.cis.upenn.edu/~bcpierce/types/archives/current/msg00849.html
> Yours, Florian
This problem in type inference has been fixed  since january 2002:



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