An idea for a warning
Simon Peyton-Jones
simonpj at microsoft.com
Tue Apr 3 12:18:19 EDT 2007
sounds plausible to me: perhaps add a Trac feature request? Perhaps with a proposed spec?
S
| -----Original Message-----
| From: cvs-ghc-bounces at haskell.org [mailto:cvs-ghc-bounces at haskell.org] On Behalf Of Sven Panne
| Sent: 03 April 2007 11:22
| To: cvs-ghc at haskell.org
| Subject: An idea for a warning
|
| I've just once again fixed a situation in the library which looked as follows:
|
| module Foo(Bar(..)) where
| data Bar = Baz Blah
| type Blah = String
|
| Although Bar is usable, I very much doubt that it is intended that Blah is not
| exported from Foo. Haddock complains about such situations, BTW. Would it
| make sense to add a warning to GHC in such cases?
|
| Cheers,
| S.
|
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc at haskell.org
| http://www.haskell.org/mailman/listinfo/cvs-ghc
More information about the Cvs-ghc
mailing list