~fgaz/bimap-many

b1257a548ff8a338bf059957ccde166f681b3fb0 — Francesco Gazzetta 6 months ago 9daa15b
Cabal file improvements
1 files changed, 14 insertions(+), 5 deletions(-)

M bimap-many.cabal
M bimap-many.cabal => bimap-many.cabal +14 -5
@@ 6,6 6,10 @@ description:
    A data structure representing a bidirectional mapping between two key types.
    Each key in the bimap is associated with at least one of the opposite type.
    Finally, each pair of keys is associated with a value type.

    Documentation links on Hackage may not appear due to backpack, so here's
    a link to the indefinite module's docs, which may be there instead:
    "Data.BimapMany".
homepage:           https://sr.ht/~fgaz/bimap-many
license:            BSD-3-Clause
license-file:       LICENSE


@@ 37,7 41,7 @@ common common
        -Wincomplete-record-updates
    default-language: Haskell2010

library bimap-indef
library bimap-many-indef
    import:          common
    signatures:      Data.Map.Signature
    exposed-modules: Data.BimapMany


@@ 54,13 58,18 @@ library bimap-indef

library
    import:             common
    build-depends:      containers, bimap-indef
    reexported-modules: Data.BimapMany.Strict
    build-depends:      containers, bimap-many-indef
    build-depends: base
    reexported-modules:
        , Data.BimapMany.Strict
        , Data.BimapMany.Lazy
    mixins:
        , bimap-indef (Data.BimapMany as Data.BimapMany.Lazy)
        , bimap-many-indef (Data.BimapMany as Data.BimapMany.Lazy)
             requires (Data.Map.Signature as Data.Map.Lazy)
        , bimap-indef (Data.BimapMany as Data.BimapMany.Strict)
        , bimap-many-indef (Data.BimapMany as Data.BimapMany.Strict)
             requires (Data.Map.Signature as Data.Map.Strict)
    -- https://gitlab.haskell.org/ghc/ghc/-/issues/18563
    ghc-options:      -Wno-unused-packages

test-suite bimap-many-test
    import:           common