[Haskell-cafe] Re: module names

Bulat Ziganshin bulatz at HotPOP.com
Tue Dec 20 18:20:51 EST 2005


Hello S,

Friday, December 16, 2005, 6:32:47 AM, you wrote:

SKC> Why not do this: name none of those modules Main.hs, and have an empty
SKC> module Main.hs with only "import MainDeJour" and "main = 
SKC> MainDeJour.main" so you can just edit just that file.

ghc has option "-main-is" which is just what needed in this case


-- 
Best regards,
 Bulat                            mailto:bulatz at HotPOP.com





More information about the Haskell-Cafe mailing list