Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* camlp4 3.10: <:expr < $opt:... >>
@ 2007-04-30 15:01 Joel Reymont
  2007-04-30 15:22 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Reymont @ 2007-04-30 15:01 UTC (permalink / raw)
  To: Caml List

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/






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-04-30 15:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-30 15:01 camlp4 3.10: <:expr < $opt:... >> Joel Reymont
2007-04-30 15:22 ` [Caml-list] " Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox