caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Christophe Dehlinger" <christophedehlinger@gmail.com>
To: "O'Caml Mailing List" <caml-list@inria.fr>
Subject: Re: [Caml-list] What is "principal typing"?
Date: Thu, 21 Dec 2006 08:27:15 +0100	[thread overview]
Message-ID: <f24432a00612202327u53356314hd9a5a38f70c72a47@mail.gmail.com> (raw)
In-Reply-To: <OF87E2E99E.6BAB6D82-ON8525724B.00156B64-8525724B.0016ECC2@db.com>

On 12/21/06, Jeff Polakow <jeff.polakow@db.com> wrote:
>
> Principal typeings, which ML does not have, are useful because they allow for compositional type inference (i.e. each piece of the program can be analyzed separately).
>
>

According to a 2005 paper by Camarao and Figueiredo (found at
http://www.dcc.ufmg.br/~camarao/ml-has-pt.pdf ), there is a variation
of the usual Damas-Milner type system for core-ML that types the same
terms and also has principal typings.

So the language ML does have principal typings, in the sense that it
has a useful type system with principal typings, but afaik no ML
implementation uses a such a type system.


  parent reply	other threads:[~2006-12-21  7:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 21:53 Tom
2006-12-21  4:10 ` [Caml-list] " Jeff Polakow
2006-12-21  6:42   ` Tom
2006-12-21 21:02     ` Jeff Polakow
2006-12-21  7:27   ` Christophe Dehlinger [this message]
2006-12-21 21:07     ` Jeff Polakow

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=f24432a00612202327u53356314hd9a5a38f70c72a47@mail.gmail.com \
    --to=christophedehlinger@gmail.com \
    --cc=caml-list@inria.fr \
    /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).