[Hackage] #146: cabal should support CPP and haskell string gaps in the same file

Hackage trac at galois.com
Wed Mar 19 08:27:46 EDT 2008


#146: cabal should support CPP and haskell string gaps in the same file
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:                 
      Type:  defect         |       Status:  new            
  Priority:  normal         |    Milestone:                 
 Component:  Cabal library  |      Version:  1.1.6          
  Severity:  normal         |   Resolution:                 
  Keywords:                 |   Difficulty:  easy (<4 hours)
Ghcversion:  6.6            |     Platform:  Linux          
----------------------------+-----------------------------------------------
Changes (by duncan):

  * difficulty:  normal => easy (<4 hours)

Comment:

 The only solution I can see would be to always prefer cpphs over cpp for
 preprocessing Haskell code.

 That change is easy to make if people think it's the right thing to do in
 general.

 It previously used to work that way, but it was switched to use cpp by
 default because few people had cpphs installed and some things would break
 just for those users which was hard to track down. cpphs may have improved
 since then and may be more widely deployed so it might be ok to switch
 again.

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


More information about the cabal-devel mailing list