packages feed

binary-tree-0.1.0.0: binary-tree.cabal

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

name:           binary-tree
version:        0.1.0.0
description:    Please see the README on Github at <https://github.com/oisdk/binary-tree#readme>
homepage:       https://github.com/oisdk/binary-tree#readme
bug-reports:    https://github.com/oisdk/binary-tree/issues
author:         Donnacha Oisín Kidney
maintainer:     mail@doisinkidney.com
copyright:      2018 Donnacha Oisín Kidney
license:        MIT
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/oisdk/binary-tree

library
  hs-source-dirs:
      src
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns
  build-depends:
      base >=4.0 && <5
    , deepseq
  if impl(ghc >= 8.0)
    ghc-options: -fwarn-redundant-constraints -Wcompat
  if impl(ghc)
    build-depends:
        ghc-prim
  exposed-modules:
      Data.Tree.Binary.Inorder
      Data.Tree.Binary.Internal
      Data.Tree.Binary.Leafy
      Data.Tree.Binary.Preorder
  other-modules:
      Paths_binary_tree
  default-language: Haskell2010

test-suite binary-tree-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  hs-source-dirs:
      test
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      ChasingBottoms >=1.2.2
    , HUnit >=1.1
    , QuickCheck >=1.0
    , base >=4.0 && <5
    , binary-tree
    , checkers >=0.1
    , test-framework >=0.1
    , test-framework-quickcheck2 >=0.2.1
  if impl(ghc >= 8.0)
    ghc-options: -fwarn-redundant-constraints -Wcompat
  other-modules:
      Paths_binary_tree
  default-language: Haskell2010

test-suite doctests
  type: exitcode-stdio-1.0
  main-is: doctests.hs
  hs-source-dirs:
      doctest
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -threaded
  build-depends:
      QuickCheck >=1.0
    , base >=4.0 && <5
    , binary-tree
    , doctest >=0.3.0
  if impl(ghc >= 8.0)
    ghc-options: -fwarn-redundant-constraints -Wcompat
  other-modules:
      Paths_binary_tree
  default-language: Haskell2010

benchmark bench
  type: exitcode-stdio-1.0
  main-is: bench.hs
  hs-source-dirs:
      bench
  ghc-options: -Wall -fwarn-incomplete-record-updates -fwarn-incomplete-uni-patterns -threaded -rtsopts -with-rtsopts=-N -O2
  build-depends:
      base >=4.0 && <5
    , binary-tree
    , criterion >=0.1
    , random >=1.0.0.0
  if impl(ghc >= 8.0)
    ghc-options: -fwarn-redundant-constraints -Wcompat
  other-modules:
      Paths_binary_tree
  default-language: Haskell2010