[Hackage] #585: specify hidden modules as everything not exposed

Hackage trac at galois.com
Tue Sep 15 17:32:57 EDT 2009


#585: specify hidden modules as everything not exposed
----------------------------+-----------------------------------------------
  Reporter:  wisnesky       |        Owner:         
      Type:  enhancement    |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.1
  Severity:  normal         |     Keywords:         
Difficulty:  unknown        |   Ghcversion:         
  Platform:                 |  
----------------------------+-----------------------------------------------
 I'm trying to package a large Haskell project (currently built using make)
 to Cabal, and although we only want to expose around a dozen modules, the
 implementation of those modules uses hundreds of other modules.  It seems
 like I need to explicitly list each of these hidden modules in the .cabal
 file in order to generate a library that will link correctly.  Ideally, I
 could just say what the exposed modules are, and have every other module
 hidden by default.

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


More information about the cabal-devel mailing list