Bjarte is quite right - I've added this entry to the bug report page
and will get round to it... sometime. Shout if it's causing you
problems.
Alastair
Bjarte Mayanja Oestvold ([EMAIL PROTECTED]) reports:
<pre>
Using frequently both Hugs 1.4 (January 1998) and GHC I've noticed
that Hugs accepts the following while GHC does not:
------------------------------
module Main where
import A
main = print (D 42)
------------------------------
------------------------------
module A (D) where
data D = D Int
deriving Show
------------------------------
If I read the report correctly GHC is right to complain that data
constructor `D' is not in scope in Main. Renaming the data
constructor to a name different from that of the datatype yields a
similar error in Hugs too (and this is of course resolved by exporting
`D(..)').
This is probably the most pedantic bug report ever made to hugs-bugs!
</pre>
Everything except the last sentence is true.