
#179: support GHC's main-is extension --------------------------+------------------------------------------------- Reporter: duncan | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Component: Cabal | Version: 1.2.2.0 Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.4.2 | Platform: Linux --------------------------+------------------------------------------------- Comment (by duncan): So the question is how would we support this extension? Perhaps by specifying a module name for {{{main-is:}}} ? Would that be distinguishable from a file name? It wouldn't have a file extension. Perhaps it'd be better to be explicit and specify {{{main-module-is: Foo.Bar}}}. Note that we do need both a file name and a module name because we have to pass that file to ghc since it's very common for people to use main modules that are not called {{{Main.hs}}}. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/179#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects