logo       

special handling of "Main.hs" contradicts Report: msg#00044

lang.haskell.glasgow.bugs

Subject: special handling of "Main.hs" contradicts Report

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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise