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

Hackage cvs-ghc at haskell.org
Tue Jun 21 11:14:35 CEST 2011


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

Comment(by duncan):

 Replying to [comment:21 cjs]:
 > 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 framework.)

 Sorry, I don't think I see what you're getting at. Could you try
 explaining it slower :-)

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



More information about the cabal-devel mailing list