Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camlp4 optional arguments
[ 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 optional arguments
Excerpts from SerP's message of Mon Dec 17 10:16:50 +0100 2007:
> |This construction does not work properly.
> 
> let label = "foo" in
> <:ctyp< ? $lid:label$ : int -> () >> |:  optional label type.
> 
> But this, work fine:
> <:ctyp<?foo:int -> ()>>
> 
> 
> How I can use antiqoutation in this expression?
> Thanks
> 

What preprocessor do you use revised syntax, original one?

It  seems to be a bug already fixed for the revised syntax, since it works for
me.

-- 
Nicolas Pouillard aka Ertai