Re: transitive imports

Ross Paterson <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
A variation on the previous bug.  Given these modules:

module A(Stuff(Foo, Bar)) where
data Stuff = Foo | Bar

module B(Stuff(..)) where
import A

module C where
import B
f = Foo

loading C gives

Dependency analysis
ERROR "C.hs":4 - Undefined constructor function "Foo"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.