packages feed

matrix-lens-0.1.0.0: matrix-lens.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: 853a69950c400cb9cafc73a36a7bfd908a1c2890c5a47196defaeb91ba08e83f

name:           matrix-lens
version:        0.1.0.0
synopsis:       Optics for the "matrix" package
description:    See README at <https://github.com/interosinc/matrix-lens#readme>
category:       Math
homepage:       https://github.com/interosinc/matrix-lens#readme
bug-reports:    https://github.com/interosinc/matrix-lens/issues
author:         Interos, Inc.
maintainer:     jevans@interos.ai
copyright:      2020 Interos, Inc.
license:        BSD3
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/interosinc/matrix-lens

flag developer
  description: Developer mode -- stricter handling of compiler warnings.
  manual: True
  default: False

library
  exposed-modules:
      Data.Matrix.Lens
      Data.Matrix.Lens.Internal
      Data.Matrix.Lens.Internal.Warnings
  other-modules:
      Paths_matrix_lens
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , lens >=4.19.2 && <4.20
    , matrix >=0.3.6 && <0.4
    , vector >=0.12.1 && <0.13
  if flag(developer)
    ghc-options: -Weverything -Werror -Wno-all-missed-specialisations -Wno-missed-specialisations -Wno-missing-deriving-strategies -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe
  else
    ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-missed-specialisations -Wno-missing-deriving-strategies -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe
  default-language: Haskell2010

test-suite matrix-lens-test
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  other-modules:
      MatrixLensTest
      Paths_matrix_lens
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , hedgehog
    , lens >=4.19.2 && <4.20
    , matrix >=0.3.6 && <0.4
    , matrix-lens
    , tasty
    , tasty-discover
    , tasty-hedgehog
    , tasty-hspec
    , vector >=0.12.1 && <0.13
  if flag(developer)
    ghc-options: -Weverything -Werror -Wno-all-missed-specialisations -Wno-missed-specialisations -Wno-missing-deriving-strategies -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe
  else
    ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-missed-specialisations -Wno-missing-deriving-strategies -Wno-missing-exported-signatures -Wno-missing-import-lists -Wno-missing-local-signatures -Wno-monomorphism-restriction -Wno-safe -Wno-unsafe
  default-language: Haskell2010