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: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] camlp4 3.10: What should this look like?
On 5/21/07, Joel Reymont <joelr1@gmail.com> wrote:
>
> 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 ] ->
>

You're right.

> 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)
>          )
>

Loc.raise

-- 
Nicolas Pouillard