From: Mark Shinwell <mshinwell@janestreet.com>
To: Jacques Garrigue <garrigue@math.nagoya-u.ac.jp>
Cc: "Daniel Bünzli" <daniel.buenzli@erratique.ch>,
"caml list" <caml-list@inria.fr>
Subject: Re: [Caml-list] Stability of order between polymorphic variants
Date: Thu, 5 Sep 2013 09:39:06 +0100 [thread overview]
Message-ID: <CAM3Ki74EWQ8tCLLiq4Q8L9+hGbYjPdTR5Vgv-qrQWtS9VHxA_w@mail.gmail.com> (raw)
In-Reply-To: <0632AAE4-0DEA-4905-8F70-0646DE62E947@math.nagoya-u.ac.jp>
On 5 September 2013 09:24, Jacques Garrigue
<garrigue@math.nagoya-u.ac.jp> wrote:
> As was pointed by some, the hashing function ensures that all constructor names up to 4 characters may not conflict, on all architectures.
> It also preserves the order in that case.
> Since there is no reason to change this hashing function, I suppose you can rely on that.
This seems quite fragile. If you're going to rely on that,
I'd suggest having a unit test.
Mark
next prev parent reply other threads:[~2013-09-05 8:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-05 0:17 Daniel Bünzli
2013-09-05 2:06 ` Anthony Tavener
2013-09-05 2:11 ` Anthony Tavener
2013-09-05 2:18 ` Francois Berenger
2013-09-05 2:31 ` Anthony Tavener
2013-09-05 7:47 ` Stéphane Glondu
2013-09-05 8:24 ` Jacques Garrigue
2013-09-05 8:39 ` Mark Shinwell [this message]
2013-09-05 9:26 ` Jeremy Yallop
2013-09-05 14:46 ` Goswin von Brederlow
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=CAM3Ki74EWQ8tCLLiq4Q8L9+hGbYjPdTR5Vgv-qrQWtS9VHxA_w@mail.gmail.com \
--to=mshinwell@janestreet.com \
--cc=caml-list@inria.fr \
--cc=daniel.buenzli@erratique.ch \
--cc=garrigue@math.nagoya-u.ac.jp \
/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