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
[Caml-list] Parametric classes and weak types
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Frederic Tronel <Frederic.Tronel@i...>
Subject: Re: [Caml-list] Parametric classes and weak types
Jacques Garrigue wrote:
> I'm working on the problem. Curiously, what triggers it seems to be
> the printer: as long as values of the above type are not printed, type
> inference works fine.

Yes indeed, in this example it works perfectly if you do not print
the type (by compiling). But in my original example, I have been able
to make the compiler hangs. I can provide you with the complete example,
if it can help.

> It's touching a very sensitive part of ocaml, the combination of
> recursive types and type abbreviations. Maybe Jerome can also have a
> look at the bug report ? Hint: the loop is in a call to expand_head,
> inside moregeneral.

Bug reports:  FAQ:
To unsubscribe, mail  Archives: