From: Richard Jones <rich@annexia.org>
To: caml-list@inria.fr
Subject: Re: [Caml-list] camlp4: How to make a record expression w/o useless "with"
Date: Tue, 12 Aug 2008 18:37:15 +0100 [thread overview]
Message-ID: <20080812173715.GA3041@annexia.org> (raw)
In-Reply-To: <20080811164924.GA17563@annexia.org>
On Mon, Aug 11, 2008 at 05:49:25PM +0100, Richard Jones wrote:
> I have some code like the minimal example below. Notice the
> '{ () with ... }'
> record expression. If I remove the '() with' part, it fails to
> compile.
For reference, Bluestorm found an answer to my question, by building
the AST explicitly:
let build_record _loc rbs =
Ast.ExRec (_loc, rbs, Ast.ExNil _loc)
Rich.
--
Richard Jones
Red Hat
prev parent reply other threads:[~2008-08-12 17:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-11 16:49 Richard Jones
2008-08-12 17:37 ` Richard Jones [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=20080812173715.GA3041@annexia.org \
--to=rich@annexia.org \
--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