caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: Gabriel Scherer <gabriel.scherer@gmail.com>
Cc: Philippe Veber <philippe.veber@gmail.com>,
	Goswin von Brederlow <goswin-v-b@web.de>,
	caml-list@inria.fr
Subject: Re: [Caml-list] Odd failure to infer types
Date: Sat, 3 Sep 2011 14:50:41 +0200	[thread overview]
Message-ID: <20110903125041.GC15100@localhost> (raw)
In-Reply-To: <CAPFanBFbX-D_hb0SqXS7-g3cG9RVe6-W3MzEs_FvfwqRhX54aA@mail.gmail.com>

Le Saturday 03 Sep 2011 à 14:15:35 (+0200), Gabriel Scherer a écrit :
>
>    [...]

Thanks for your explanation, which is quite thorough.

>      It also seems quite wrong to me. You should perhaps file a bug into
>      Mantis if no typing expert answers.
> 
>    I don't want to criticize your answer which was very helpful, but I
>    would like to point out that I have seen the "when you don't understand
>    the type checker, it may be a bug" reaction quite often on this list.

Well, there was an "if" clause... Nevertheless I agree that the
type checker is quite solid. I only had "serious" problems (infinite
loops) when playing too harshly with subtyping or recursive types.

-- 
     Guillaume Yziquel


  reply	other threads:[~2011-09-03 12:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03  9:53 Goswin von Brederlow
2011-09-03 10:31 ` Christophe Papazian
2011-09-03 11:42   ` Guillaume Yziquel
2011-09-03 10:36 ` Guillaume Yziquel
2011-09-03 11:35   ` Philippe Veber
2011-09-03 11:46     ` Guillaume Yziquel
2011-09-03 12:15       ` Gabriel Scherer
2011-09-03 12:50         ` Guillaume Yziquel [this message]
2011-09-17 12:08         ` Goswin von Brederlow
2011-09-18  7:26           ` Gabriel Scherer

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=20110903125041.GC15100@localhost \
    --to=guillaume.yziquel@citycable.ch \
    --cc=caml-list@inria.fr \
    --cc=gabriel.scherer@gmail.com \
    --cc=goswin-v-b@web.de \
    --cc=philippe.veber@gmail.com \
    /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).