[Haskell-cafe] Re: module names

Peter Simons simons at cryp.to
Sat Dec 17 08:56:32 EST 2005

Scherrer, Chad writes:

 > When I'm using ghci, I have lots of modules that I
 > sometimes want to load "as Main", and sometimes I only
 > want them loaded as a dependency from another module.
 > Currently, I have to go into each file to change the
 > "module Foo where" line to do this.

Maybe the "-main-is" option can help to make your live
easier? You'll find more information here:



More information about the Haskell-Cafe mailing list