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

#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

#585: specify hidden modules as everything not exposed ----------------------------+----------------------------------------------- Reporter: wisnesky | Owner: Type: enhancement | Status: new Priority: normal | Milestone: Cabal-2.0 Component: Cabal library | Version: 1.6.0.1 Severity: normal | Resolution: Keywords: | Difficulty: project(> week) Ghcversion: | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * difficulty: unknown => project(> week) * milestone: => Cabal-2.0 Comment: This is a long-standing problem. Cabal currently relies on `ghc --make` to do the dependency chasing, so Cabal doesn't actually know which modules are needed, which is part of the reason they all need to be listed. The major feature that would fix this (and several related features) is to implement a make-style module/file dependency framework (see #15). -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/585#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage