Version française
Home     About     Download     Resources     Contact us    
Browse thread
Revised syntax scope (3.10 vs. 3.11)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Andre Nathan <andre@s...>
Subject: Re: [Caml-list] Revised syntax scope (3.10 vs. 3.11)
On Fri, 2009-03-27 at 10:45 +0100, Nicolas Pouillard wrote:
> That was indeed the intended behavior, to get a larger scope for 'a'
> use this syntax:
> 
>   <:expr<
>     do {
>       let a = "foo"; (* <--- semicolon here *)
>       print_endline a;
>       print_endline a
>     }
>   >>

Thank you!

Andre