[Hackage] #179: support GHC's main-is extension

Hackage cvs-ghc at haskell.org
Tue Jun 21 01:47:19 CEST 2011

#179: support GHC's main-is extension
  Reporter:  duncan         |        Owner:          
      Type:  enhancement    |       Status:  reopened
  Priority:  low            |    Milestone:  _|_     
 Component:  Cabal library  |      Version: 
  Severity:  normal         |   Resolution:          
  Keywords:                 |   Difficulty:  normal  
Ghcversion:  6.4.2          |     Platform:  Linux   

Comment(by cjs):

 That syntax works for me. Do note, if you start implementing this for GHC,
 that if Blah.hs doesn't export main and is linked into other programs the
 versions of this with and without the main function must be compiled
 separately. (A typical case for this is where the main function is a test

Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/179#comment:21>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects

More information about the cabal-devel mailing list