[Haskell-cafe] A Cabal problem

Mario Blazevic mblazevic at stilo.com
Mon May 5 13:37:12 EDT 2008


Trevor Elliott wrote:
> Hi Mario,
> 
> Is the name of the module within the Shell.hs file Main?  If not, that
> could be your problem.

	You may be right, the module's name is Shell, not Main. GHC does not
have problem with that when "--main-is Shell" option is specified on the
command line. Is Cabal different? Is this documented somewhere?




More information about the Haskell-Cafe mailing list