Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4 3.10: What should this look like?
[ 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: Re: [Caml-list] camlp4 3.10: What should this look like?

On May 21, 2007, at 10:26 AM, Nicolas Pouillard wrote:

>     [ "PGSQL"; "("; dbh = expr; ")"; extras = LIST1 STRING ->

It appears to want the following, please let me know if it's wrong.

     [ "PGSQL"; "("; dbh = expr; ")"; extras = LIST1 [ x = STRING ->  
x ] ->

A follow up question... What has become of Stdpp.raise_with_loc, as  
in the following?

         Stdpp.raise_with_loc loc (
           Failure ("Unknown flag: " ^ str)
         )

	Thanks, Joel

--
http://wagerlabs.com/