> disallowing all duplicates seems tricky. is there a duplicate here:
>
> module A (f, module M) where
> import M(f)
Yes, there is a duplicate here. Strangely enough, hbc does not report
this as an error, even though it refuses to compile the following
very similar case:
module A (f, module A) where
f = id
$ hbc -c A.hs
Errors:
"A.hs", line 0, [87] Duplicates in export list: f
Compilation aborted
Regards,
Malcolm
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell