packages feed

refractor-0.0.0.0: refractor.cabal

cabal-version:       2.4
name:                refractor
version:             0.0.0.0
synopsis:            See README for more info
description:         See README for more info
homepage:            https://github.com/strake/refractor.hs
bug-reports:         https://github.com/strake/refractor.hs/issues
license:             MPL-2.0
license-file:        LICENSE
author:              M Farkas-Dyck
maintainer:          strake888@gmail.com
copyright:           2020 M Farkas-Dyck
category:            Optics
build-type:          Simple
extra-doc-files:     README.md
                   , CHANGELOG.md
tested-with:         GHC == 8.6.5

common c
  build-depends:       base ^>= 4.13
  ghc-options:         
                     -Wall
                     -Wcompat
                     -Wredundant-constraints
                     -Wno-name-shadowing
                     -Wincomplete-uni-patterns
                     -Wincomplete-record-updates
                     -Werror=incomplete-patterns
                     -Werror=incomplete-uni-patterns
                     -Werror=incomplete-record-updates
                     -Werror=missing-fields
                     -Werror=missing-methods
  default-language:    Haskell2010
  default-extensions:  UnicodeSyntax
                       LambdaCase
                       EmptyCase
                       InstanceSigs
                       PartialTypeSignatures
                       PolyKinds
                       ConstraintKinds
                       FlexibleContexts
                       FlexibleInstances
                       MonadComprehensions
                       StandaloneDeriving
                       DeriveFunctor
                       DeriveFoldable
                       DeriveTraversable

library
  import:              c
  hs-source-dirs:      src
  exposed-modules:     Control.Refractor
  build-depends:

test-suite test
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       refractor
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

benchmark bench
  import:              c
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench
  main-is:             Main.hs
  build-depends:       gauge
                     , refractor
  ghc-options:         -threaded
                       -rtsopts
                       -with-rtsopts=-N

source-repository head
  type:                git
  location:            https://github.com/strake/refractor.hs.git