special handling of "Main.hs" contradicts Report

Mark Tullsen mtullsen at cse.ogi.edu
Thu Apr 17 14:24:39 EDT 2003


I have this simple module:

   module X where
   t1 = t1

If it's in a file called "X.hs," all works as expected,
it exports 't1'.  But if it's in a file called "Main.hs,"
then it doesn't export 't1'.  The same is true if we have
"module Main" instead of "module X".

- Mark




More information about the Glasgow-haskell-bugs mailing list