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 _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs