caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Caml List" <caml-list@inria.fr>, "Aleksey Nogin" <nogin@metaprl.org>
Subject: Re: [Caml-list] 3.10+beta: Camlp4: AST mapping treats record labels as patterns; should they have type ident instead?
Date: Thu, 3 May 2007 11:16:09 +0200	[thread overview]
Message-ID: <cd67f63a0705030216p72073e24xaf82d5a615546cde@mail.gmail.com> (raw)
In-Reply-To: <cd67f63a0704200817i58fb0537x903bb37ae9b44984@mail.gmail.com>

On 4/20/07, Nicolas Pouillard <nicolas.pouillard@gmail.com> wrote:
> On 4/18/07, Aleksey Nogin <nogin@metaprl.org> wrote:
> > On 18.04.2007 01:11, Nicolas Pouillard wrote:
> >

[...]

>
> > > For expressions it's more complex
> > >
> > Is it the same issue as the workaround discussion above - the "proper"
> > way to make this distinction would be to introduce a separare
> > rec_binding type similar, but separate from the binding one? But is it
> > true that the "b; b" case in the binding type is only used for records?
> > If so, it would seem that splitting the binding type would not result in
> > that much duplication. Of course, I am only starting to understand the
> > new setup, no I may be completely wrong here.
>
> Yes it is just used for records and objects {< f1 = e1 ; ... ; fN = eN >}.
>
> But having one more category seems heavy, I have to think more about it.
>

Ok, I've done it. I've added the rec_binding type, quotation and use
it for record expressions and objects {< ... >}.

-- 
Nicolas Pouillard


      reply	other threads:[~2007-05-03  9:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17 17:50 Aleksey Nogin
2007-04-18  8:11 ` [Caml-list] " Nicolas Pouillard
2007-04-18 16:13   ` Aleksey Nogin
2007-04-20 15:17     ` Nicolas Pouillard
2007-05-03  9:16       ` Nicolas Pouillard [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=cd67f63a0705030216p72073e24xaf82d5a615546cde@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nogin@metaprl.org \
    /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).