[Haskell-cafe] module export question

Ross Paterson ross at soi.city.ac.uk
Tue Dec 1 17:34:31 EST 2009


On Tue, Dec 01, 2009 at 05:11:42PM -0500, Sean McLaughlin wrote:
> The problem is that I explicitly didn't export 't' as an element of T
> (by not writing T(..)).
> Am I just misunderstanding how exports work?  I couldn't figure out
> what the correct behavior should be by looking at the 98 report.

Exports (and imports) merely enumerate names, not their relationships,
so the original export is equivalent to T(T, t) or T(..).


More information about the Haskell-Cafe mailing list