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

Hackage cvs-ghc at haskell.org
Thu Mar 24 01:15:05 CET 2011

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

Comment(by cjs):

 Replying to [comment:13 duncan]:
 > The reason we do not support `-main-is` is because it is a ghc-specific
 extension that does not work for other Haskell implementations.

 That's pretty lame; many people write a lot of other code that works only
 under ghc for many other reasons. Why not just supposed ghc-specific
 extensions and let the build fail gracefully if someone's not using ghc?

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

More information about the cabal-devel mailing list