File optics-extra.cabal of Package ghc-optics-extra

cabal-version: 2.2
name:          optics-extra
version:       0.4.2.1
x-revision: 2
license:       BSD-3-Clause
license-file:  LICENSE
build-type:    Simple
maintainer:    optics@well-typed.com
author:        Andrzej Rybczak
tested-with:   GHC ==8.2.2 || ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.7
                || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1, GHCJS ==8.4
synopsis:      Extra utilities and instances for optics-core
category:      Data, Optics, Lenses
description:
  This package provides extra definitions and instances that extend the
  @<https://hackage.haskell.org/package/optics-core optics-core>@ package,
  without incurring too many dependencies.  See the
  @<https://hackage.haskell.org/package/optics optics>@ package for more
  documentation.

extra-doc-files:
  CHANGELOG.md

bug-reports:   https://github.com/well-typed/optics/issues
source-repository head
  type:     git
  location: https://github.com/well-typed/optics.git
  subdir:   optics-extra

common language
    ghc-options:        -Wall -Wcompat

    default-language:   Haskell2010

    default-extensions: BangPatterns
                        ConstraintKinds
                        DefaultSignatures
                        DeriveFoldable
                        DeriveFunctor
                        DeriveGeneric
                        DeriveTraversable
                        EmptyCase
                        FlexibleContexts
                        FlexibleInstances
                        FunctionalDependencies
                        GADTs
                        GeneralizedNewtypeDeriving
                        InstanceSigs
                        KindSignatures
                        LambdaCase
                        OverloadedLabels
                        PatternSynonyms
                        RankNTypes
                        ScopedTypeVariables
                        TupleSections
                        TypeApplications
                        TypeFamilies
                        TypeOperators
                        ViewPatterns

library
  import:           language
  hs-source-dirs:   src

  build-depends: base                   >= 4.10      && <5
               , array                  >= 0.5.2.0   && <0.6
               , bytestring             >= 0.10.8    && <0.13
               , containers             >= 0.5.10.2  && <0.7
               , hashable               >= 1.1.1     && <1.5
               , indexed-profunctors    >= 0.1       && <0.2
               , mtl                    >= 2.2.2     && <2.4
               , optics-core            >= 0.4.1     && <0.4.2
               , text                   >= 1.2       && <1.3 || >=2.0 && <2.2
               , transformers           >= 0.5       && <0.7
               , unordered-containers   >= 0.2.6     && <0.3
               , vector                 >= 0.11      && <0.14
               , indexed-traversable-instances >=0.1 && <0.2

  exposed-modules: Optics.Extra

                   -- optic utilities
                   Optics.At
                   Optics.Cons
                   Optics.Each
                   Optics.Empty
                   Optics.Indexed
                   Optics.Passthrough
                   Optics.State
                   Optics.State.Operators
                   Optics.View
                   Optics.Zoom

                   -- optics for data types
                   Data.ByteString.Lazy.Optics
                   Data.ByteString.Optics
                   Data.ByteString.Strict.Optics
                   Data.HashMap.Optics
                   Data.HashSet.Optics
                   Data.Text.Lazy.Optics
                   Data.Text.Optics
                   Data.Text.Strict.Optics
                   Data.Vector.Generic.Optics
                   Data.Vector.Optics

                   -- internal modules
                   Optics.Extra.Internal.ByteString
                   Optics.Extra.Internal.Vector
                   Optics.Extra.Internal.Zoom
openSUSE Build Service is sponsored by