Version française
Home     About     Download     Resources     Contact us    
Browse thread
Objective Caml 3.09 released
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] Objective Caml 3.09 released
On Friday 28 October 2005 20:14, Damien Doligez wrote:
> On Oct 28, 2005, at 06:08, Aleksey Nogin wrote:
> > AFAIU, there are two warnings - "Y" for variables bound with let
> > and "Z" for variables bound by pattern matching. By default, Y is
> > enabled and Z is not.
>
> The rules for Y are a bit complex.  They are designed to match our style
> of programming, where we sometimes document patterns by giving names to
> all the arguments, even if they are unused.
> ...

An alternative solution might be to highlight unused pattern bindings in the 
editor?

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists