I'd like separate warnings for local and top-levelunused binds. I often have "unused" top-levelfunctions which I use from ghci. I'd like to avoidwarnings forthese while retaining the warnings for unused localbindings (which can always be eliminated by prefix thename with an underscore.)
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Would any developers care to guess at the difficulty of this feature? Could this make a good project for someone just starting to get their feet wet hacking on ghc?
I doubt the usefulness of this feature since any top-level function that is mentioned in the export list of the module won't trigger a warning. It is confusing to see dead code in a module and so top-level functions that aren't used should probably just be commented out.
However, this feature does come handy when using records: it often happens that a field name isn't used in a module, hence triggering a warning.
Would any developers care to guess at the difficulty of this feature? Could this make a good project for someone just starting to get their feet wet hacking on ghc?
I'd say so. It would probably be worth discussing the design on the cvs-ghc list first, though.