caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] unused variables warning
@ 2001-04-28  9:57 Pixel
  2001-04-29  8:15 ` Vitaly Lugovsky
  2002-09-09 21:24 ` [Caml-list] " Pixel
  0 siblings, 2 replies; 7+ messages in thread
From: Pixel @ 2001-04-28  9:57 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2002-09-09 21:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-28  9:57 [Caml-list] unused variables warning Pixel
2001-04-29  8:15 ` Vitaly Lugovsky
2001-04-29  9:58   ` Pixel
2001-04-29 13:06     ` Sven LUTHER
2001-04-29 13:14       ` Pixel
2001-04-29 10:14   ` Marcin 'Qrczak' Kowalczyk
2002-09-09 21:24 ` [Caml-list] " Pixel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).