From: Romain Bardou <bardou@lsv.ens-cachan.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Re: References and polymorphism
Date: Thu, 12 Jan 2012 11:46:39 +0100 [thread overview]
Message-ID: <4F0EBA0F.1080400@lsv.ens-cachan.fr> (raw)
In-Reply-To: <CAB0nkh1jB8GbLTsT=V86hq+arDPtkoOg=V39oPC+RgvKx9G=4A@mail.gmail.com>
Le 12/01/2012 11:05, Andrej Bauer a écrit :
> I would just like to remind the participants of this discussion that
> the value restriction historically originated as a _simplifaction_ of
> fancier and more capable forms of parametric polymorphism. The older,
> more capable kinds of ML polymorphism grew increasingly more complex,
> until Andrew Wright actually looked at what sort of programs people
> wrote and noticed that for the most part the fancy stuff was not
> needed. Thus it was decided that the ML polymorphism be _simplified_.
> This was a good decision, as it made types easier to understand and
> easier to implement, at a miniscule cost.
>
> That is, we know that value restriction can be "improved", but by
> trying to do so you are just repeating the mistakes that were alerady
> made in the 90's.
>
> With kind regards,
>
> Andrej
>
Some even argue, using the same kind of arguments, that (local) let
should not be generalized [1]. Here we are not talking about local
values though.
[1] Dimitrios Vytiniotis, Simon Peyton Jones and Tom Schrijvers, Let
Should Not Be Generalised
--
Romain Bardou
next prev parent reply other threads:[~2012-01-12 10:45 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-10 15:29 [Caml-list] " Dario Teixeira
2012-01-10 15:45 ` Romain Bardou
2012-01-10 16:31 ` Arnaud Spiwack
2012-01-10 17:00 ` Dario Teixeira
2012-01-10 17:20 ` David Allsopp
2012-01-10 18:59 ` Gabriel Scherer
2012-01-11 10:48 ` [Caml-list] " Dawid Toton
2012-01-11 11:07 ` Gabriel Scherer
2012-01-11 13:00 ` Dawid Toton
2012-01-11 13:15 ` rossberg
2012-01-11 13:56 ` Dawid Toton
2012-01-11 15:42 ` rossberg
2012-01-12 9:55 ` Dawid Toton
2012-01-12 10:05 ` Andrej Bauer
2012-01-12 10:46 ` Romain Bardou [this message]
2012-01-11 11:43 ` rossberg
2012-01-11 13:34 ` Dawid Toton
2012-01-11 15:34 ` rossberg
2012-01-11 13:57 ` Dawid Toton
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=4F0EBA0F.1080400@lsv.ens-cachan.fr \
--to=bardou@lsv.ens-cachan.fr \
--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