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: Eijiro Sumii <eijiro.sumii@g...>
Subject: Re: [Caml-list] Objective Caml 3.09 released
| It is my pleasure to announce the release of Objective Caml version 3.09.0,
| the "Halloween" release.  Be very afraid :-)

Thanks and congratulations!  (Thanks also for fixing the line number
problem in exception history reports.)

| - New warnings for variables locally bound and never used.

I suppose they do not include local variables bound by pattern
matching - is this correct?

        Eijiro

> cat > test.ml
let x = 3 in 5
> ocamlc test.ml -o /dev/null
File "test.ml", line 1, characters 4-5:
Warning Y: unused variable x.
> cat > test2.ml
match 3 with x -> 5
> ocamlc test2.ml -o /dev/null