Re: Warning upon unused module
Francois Berenger <[email protected]>
| Newsgroups | gmane.comp.lang.ocaml.beginners |
|---|---|
| Message-ID | <[email protected]> |
On 04/02/2014 06:33 PM, [email protected] wrote: > -[ Wed, Apr 02, 2014 at 02:54:03PM +0900, Francois Berenger ]---- >> Is it possible to have a compilation warning >> in case a module declared in a file is unused? > > Declared? > If declared=opened, then '-w A' will do. I only extremely rarely open modules. But, I have some lines on top of my file like: --- module A = BatArray module AC = Autocorr module S = BatString module Feat = Feature module HT = BatHashtbl module L = BatList module MU = My_utils module Mol = Molecule module Mol2 = Mol2_parser module Pl = Pl_parser module Pqr = Pqr_parser module V3 = Vector3 --- I was interested in knowing if one such a line has become unnecessary at some point. -- Best regards, Francois Berenger.