caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Ben Millwood <bmillwood@janestreet.com>
To: Leo White <leo@lpw25.net>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Changing precedence and placement of attributes
Date: Mon, 9 Mar 2015 16:22:02 +0000	[thread overview]
Message-ID: <CA+MHO52Ezp9U4CjxD7pDwzb-wW=oGKemD9QXEFJ2aTGxyo2w+A@mail.gmail.com> (raw)
In-Reply-To: <1425911262.3240439.237866973.3128F81E@webmail.messagingengine.com>

[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

I think I share Maxence's concerns insofar as if someone polled me on what
the example expressions should mean, I would intuitively make the opposite
choices from the ones proposed. But whatever happens I won't be profoundly
upset :)

On 9 March 2015 at 14:27, Leo White <leo@lpw25.net> wrote:

> > If I understand, you mean that
> >   type t = int * int [@foo] * int
> > would be rejected and we use instead:
> >   type t = int * (int [@foo]) * int
> >
> > Again, it's really not natural to me.
>
> I haven't looked at the patch closely, but it seems roughly consistent
> with how "as 'a" is handled. This makes sense to me, since in both
> cases you are attaching additional information to the type.
>
> Regards,
>
> Leo
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
>

[-- Attachment #2: Type: text/html, Size: 1648 bytes --]

      reply	other threads:[~2015-03-09 16:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-09 11:27 Alain Frisch
2015-03-09 13:16 ` Maxence Guesdon
2015-03-09 13:37   ` Alain Frisch
2015-03-09 13:57     ` Maxence Guesdon
2015-03-09 14:27       ` Leo White
2015-03-09 16:22         ` Ben Millwood [this message]

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='CA+MHO52Ezp9U4CjxD7pDwzb-wW=oGKemD9QXEFJ2aTGxyo2w+A@mail.gmail.com' \
    --to=bmillwood@janestreet.com \
    --cc=caml-list@inria.fr \
    --cc=leo@lpw25.net \
    /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).