Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] unused variables warning
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pixel <pixel@m...>
Subject: [Caml-list] unused variables warning
Is there any way to ask ocamlc for an "unused variable" warning?

let f x =
   let x' = <...> in
   x

would issue something like

File "test.ml", line 2, characters 3-18:
Unused variable x'


thanks, cu Pixel.
-------------------
To unsubscribe, mail caml-list-request@inria.fr.  Archives: http://caml.inria.fr