Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: Caml List <caml-list@inria.fr>
Subject: camlp4 3.10: <:expr < $opt:... >>
Date: Mon, 30 Apr 2007 16:01:34 +0100	[thread overview]
Message-ID: <13804976-F868-4632-80F0-FDA22F4DDBAD@gmail.com> (raw)

While compiling

     <:expr<
       let $list:field_refs$ in
       let $opt:true$ $list:[match_patt_expr]$ in
       do { iter field_sexps; $match_result$ }

I get

--
While expanding quotation "expr" in a position of "expr":
   Parse error: "module" or [opt_rec] expected after "let" (in [expr])
--

Which falls smack on "let $opt:true$".

It looks like the syntax for "'a * option" has changed. How do I fix  
this?

	Thanks, Joel

--
http://wagerlabs.com/






             reply	other threads:[~2007-04-30 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-30 15:01 Joel Reymont [this message]
2007-04-30 15:22 ` [Caml-list] " Nicolas Pouillard

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=13804976-F868-4632-80F0-FDA22F4DDBAD@gmail.com \
    --to=joelr1@gmail.com \
    --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