caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Frederic Tronel <Frederic.Tronel@inrialpes.fr>
To: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Parametric classes and weak types
Date: Thu, 31 Jan 2002 10:19:23 +0100	[thread overview]
Message-ID: <3C590C1B.22232F70@inrialpes.fr> (raw)
In-Reply-To: <20020131180935V.garrigue@kurims.kyoto-u.ac.jp>

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


  reply	other threads:[~2002-01-31  9:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-31  8:52 Frederic Tronel
2002-01-31  9:09 ` Jacques Garrigue
2002-01-31  9:19   ` Frederic Tronel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-01-30 10:02 Frederic Tronel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3C590C1B.22232F70@inrialpes.fr \
    --to=frederic.tronel@inrialpes.fr \
    --cc=caml-list@inria.fr \
    --cc=garrigue@kurims.kyoto-u.ac.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).