Browse thread
[Caml-list] About polymorphic methods and recursive classes
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| 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: http://www.cis.upenn.edu/~bcpierce/types/archives/current/msg00921.html Sébastien ------------------- 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