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?