Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4 3.10: <:expr < $opt:... >>
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Joel Reymont <joelr1@g...>
Subject: camlp4 3.10: <:expr < $opt:... >>
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/