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:

  
http://haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3131936

Peter

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to