caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: OCAML <caml-list@inria.fr>
Subject: Re: [Caml-list] p4 (newbie) question
Date: Tue, 22 Jan 2002 16:05:48 +0100	[thread overview]
Message-ID: <20020122160548.K4134@verdot.inria.fr> (raw)
In-Reply-To: <863d0yzbnb.fsf@speakeasy.org>; from itz@speakeasy.org on Tue, Jan 22, 2002 at 06:46:32AM -0800

Hi,

On Tue, Jan 22, 2002 at 06:46:32AM -0800, Ian Zimmerman wrote:

> Well, I guess I can rephrase my question then:  shouldn't there be both
> MLast.ExRecAcc (loc, e1, e2)  and
> MLast.ExModAcc (loc, me1, e2)

I prefer being far from semantics. I just consider syntax as
syntax. Same thing for "types" and "types declarations" which are
different in OCaml syntax tree, but not in Camlp4 syntax tree where
there are only "types".

> So my me1 can be any module access path in general (OK, no functor
> applications for now, but arbitrary depth).

Then use <:expr< $uid:s$ . $...$ >> in an iterator to create your
Camlp4 syntax tree.

> Antoher question, and one I am afraid I know the answer to:
> where/what is the quotation for applicative record update 
> {foo with bar = expr} ?

   <:expr< {(foo) with bar = expr} >>

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


      reply	other threads:[~2002-01-22 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-21 18:22 Ian Zimmerman
2002-01-22  8:47 ` Daniel de Rauglaudre
2002-01-22 14:46   ` Ian Zimmerman
2002-01-22 15:05     ` Daniel de Rauglaudre [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=20020122160548.K4134@verdot.inria.fr \
    --to=daniel.de_rauglaudre@inria.fr \
    --cc=caml-list@inria.fr \
    /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).