From: Andreas Rossberg <rossberg@mpi-sws.org>
To: Yaron Minsky <yminsky@janestreet.com>
Cc: OCaML List Mailing <caml-list@inria.fr>
Subject: Re: [Caml-list] Equality between abstract type definitions
Date: Sun, 27 Oct 2013 13:16:14 +0100 [thread overview]
Message-ID: <66AB5484-8BFC-4A1C-ADAC-99C75716B054@mpi-sws.org> (raw)
In-Reply-To: <CACLX4jSUaC3vzXH1JZz8V0YEpM1uC+yMsmUv=HNasavgwyeE+w@mail.gmail.com>
On Oct 25, 2013, at 22:32 , Yaron Minsky <yminsky@janestreet.com> wrote:
> Changing the semantics of this will, I think, break a _lot_ of code.
Interesting. Do you have specific examples in mind?
> For what it's worth, I suspect that most people who are surprised by
> this are people who were trained on Standard ML. At Jane Street we've
> had a lot of people learn the language, and the complaints I've heard
> about this feature are, I think, mostly from that group.
Maybe, but it's not my impression that this is true for most people I see asking related questions here on the list or on SO.
> I also don't find Andreas suggestion particularly intuitive. I would
> have guessed that (x: '_a) would constrain x to be a weakly
> polymorphic value, which is at odds with the proposal.
Now, _that_ is something I would only expect from programmers trained on SML -- ancient SML'90 to be precise. ;)
Note how OCaml already uses '_a for a sort of flexible variable in its output.
/Andreas
next prev parent reply other threads:[~2013-10-27 12:16 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 22:57 Peter Frey
2013-10-24 23:23 ` Jacques Garrigue
2013-10-25 6:44 ` Andreas Rossberg
2013-10-25 8:29 ` Roberto Di Cosmo
2013-10-25 9:59 ` Ivan Gotovchits
2013-10-25 11:09 ` Gabriel Scherer
2013-10-25 14:24 ` Andreas Rossberg
2013-10-25 20:32 ` Yaron Minsky
2013-10-25 20:44 ` Jacques Le Normand
2013-10-26 1:08 ` Norman Hardy
2013-10-26 5:28 ` Jacques Garrigue
2013-10-27 12:16 ` Andreas Rossberg [this message]
2013-10-27 12:56 ` Yaron Minsky
2013-10-27 14:28 ` Gabriel Scherer
2013-10-27 14:43 ` Yaron Minsky
2013-10-27 15:25 ` Gabriel Scherer
2013-10-27 15:41 ` Yaron Minsky
2013-10-25 12:35 ` Roberto Di Cosmo
2013-10-25 12:45 ` Jonathan Protzenko
2013-10-25 13:20 ` Roberto Di Cosmo
2013-10-25 14:03 ` Andreas Rossberg
2013-10-26 9:07 ` oleg
2013-10-26 14:11 ` Didier Remy
2013-10-26 17:32 ` Didier Remy
2013-10-27 12:07 ` Andreas Rossberg
2013-10-27 14:10 ` Roberto Di Cosmo
2013-10-28 3:30 ` Jacques Garrigue
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=66AB5484-8BFC-4A1C-ADAC-99C75716B054@mpi-sws.org \
--to=rossberg@mpi-sws.org \
--cc=caml-list@inria.fr \
--cc=yminsky@janestreet.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