Skip to content

Commit cdcab6c

Browse files
Add visibility declarations to internal libraries.
This commit makes the visibility of each library — whether it is public or private — explicit. It shouldn't change the actual visibility of any internal library. If an internal library lacks an explicit visibility declaration, cabal treats it as private by default. See: https://cabal.readthedocs.io/en/3.4/cabal-package.html#pkg-field-library-visibility
1 parent 9e7885c commit cdcab6c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

monoidmap.cabal

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ library monoidmap-examples
119119
, extensions
120120
build-depends:
121121
, monoidmap
122+
visibility:
123+
private
122124
hs-source-dirs:
123125
components/monoidmap-examples
124126
exposed-modules:
@@ -143,6 +145,8 @@ library monoidmap-internal
143145
, dependency-monoid-subclasses
144146
, dependency-nothunks
145147
, extensions
148+
visibility:
149+
private
146150
hs-source-dirs:
147151
components/monoidmap-internal
148152
exposed-modules:

0 commit comments

Comments
 (0)