patch applied (cabal): Add an "exposed" field to the .cabal file library section

Duncan Coutts duncan.coutts at
Wed Jul 30 12:53:04 EDT 2008

Wed Jul 30 09:45:16 PDT 2008  Duncan Coutts <duncan at>
  * Add an "exposed" field to the .cabal file library section
  It's a bool flag that says if by default the library should
  be registered with the compiler as exposed/unhidden (for
  compilers which have such a concept, ie ghc). You might want
  to do this for packages which would otherwise pollute the
  module namespace or clash with other common packages.
  It should be very rarely used. The only current examples we
  know of are the ghc api package and the dph packages.

    M ./Distribution/PackageDescription.hs +3
    M ./Distribution/PackageDescription/Parse.hs -5 +7
    M ./Distribution/Simple/Register.hs -1 +1

View patch online:

More information about the cabal-devel mailing list