caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Guillaume Yziquel <guillaume.yziquel@citycable.ch>
To: Philippe Veber <philippe.veber@gmail.com>
Cc: 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 13:46:26 +0200	[thread overview]
Message-ID: <20110903114625.GA15100@localhost> (raw)
In-Reply-To: <CAOOOohT0v8zrEE6TbzL9RXn5_-A3KHBsZUT3aL+gZHCGsYuWEQ@mail.gmail.com>

Le Saturday 03 Sep 2011 à 13:35:22 (+0200), Philippe Veber a écrit :
>    Hi, I'm really no typing expert and have not looked much into your
>    code, so sorry in advance if what I say is irrelevant. Christophe got
>    it right I think : I'd say that an array value cannot be polymorphic
>    because it is mutable. I've quickly searched the web and found that
>    [1]http://mirror.ocamlcore.org/caml.inria.fr/pub/ml-archives/caml-list/
>    2001/12/0dccd30f4582e551a674562e3ddcc03c.en.html

Yes, Christophe got it right.

While not having the let-restriction on [] seems right theoretically, I
see little practical use case for it however.

-- 
     Guillaume Yziquel


  reply	other threads:[~2011-09-03 11:46 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 [this message]
2011-09-03 12:15       ` Gabriel Scherer
2011-09-03 12:50         ` Guillaume Yziquel
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=20110903114625.GA15100@localhost \
    --to=guillaume.yziquel@citycable.ch \
    --cc=caml-list@inria.fr \
    --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).