packages feed

lens-witherable-0.1.0.2: lens-witherable.cabal

cabal-version:        2.4
name:                 lens-witherable
version:              0.1.0.2
synopsis:             lens-compatible tools for working with witherable
copyright:            Copyright (C) 2021-2022 Carl Howells
license:              MIT
license-file:         LICENSE
author:               Carl Howells
maintainer:           chowells79@gmail.com
category:             Data
homepage:             https://github.com/chowells79/lens-witherable
bug-reports:          https://github.com/chowells79/lens-witherable/issues
description:
            Provides tools for integrating the witherable package with lens
            combinators. See README.md for more details.

extra-source-files:   CHANGELOG.md,
                      README.md


library
    default-language: Haskell2010
    exposed-modules:  Witherable.Lens,
                      Witherable.Lens.Withering
    hs-source-dirs:   src

    if flag(top-level-witherable)
       build-depends: witherable >=0.4 && <0.5,
                      base >=4.10 && <5,
    else
       build-depends: witherable >=0 && <0.5,
                      base >=4.10 && <4.16
       mixins:        witherable (Data.Witherable as Witherable)


flag top-level-witherable
    description:      Import Witherable instead of Data.Witherable
    default:          True
    manual:           False