Browse thread
[Caml-list] Parametric classes and weak types
-
Frederic Tronel
-
Jacques Garrigue
- Frederic Tronel
-
Jacques Garrigue
[
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: | 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. Frederic. ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr