RE: An idea for a warning

2007-04-03 Thread Simon Peyton-Jones
sounds plausible to me: perhaps add a Trac feature request? Perhaps with a proposed spec? S | -Original Message- | From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sven Panne | Sent: 03 April 2007 11:22 | To: cvs-ghc@haskell.org | Subject: An idea for a warning | | I&#x

An idea for a warning

2007-04-03 Thread Sven Panne
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.