packages feed

vp-tree-0.1.0.1: vp-tree.cabal

name:                vp-tree
version:             0.1.0.1
synopsis:            Vantage Point Trees
description:         Vantage Point Trees enable fast nearest-neighbor queries in metric spaces
homepage:            https://github.com/ocramz/vp-tree
license:             BSD3
license-file:        LICENSE
author:              Marco Zocca
maintainer:          ocramz
copyright:           2020-2021 Marco Zocca
category:            Data, Data Mining, Data Structures, Machine Learning
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
tested-with:         GHC == 8.6.5

library
  default-language:    Haskell2010
  ghc-options:         -Wall
  hs-source-dirs:      src
  exposed-modules:     Data.VPTree
                       Data.VPTree.Build
                       Data.VPTree.Query
                       Data.VPTree.Internal
                       Data.VPTree.Draw
                       Data.VPTree.TestData
  -- other-modules:       
  build-depends:       base >= 4.7 && < 5
                     , boxes >= 0.1.5
                     -- , conduit
                     , containers >= 0.6.0.1
                     , deepseq >= 1.4.4.0
                     , depq >= 0.3
                     -- , exceptions
                     , mtl >= 2.2.2
                     , mwc-probability >= 2.1.0
                     , primitive >= 0.6.4.0
                     , psqueues >= 0.2.7.2
                     , sampling >= 0.3.3
                     , serialise >= 0.2.2.0
                     , transformers >= 0.5.6.2
                     , vector >= 0.12.1.2
                     , vector-algorithms >= 0.8.0.3
                       -- DEBUG
                     -- , hspec
                     -- , weigh

-- executable vp-tree
--   default-language:    Haskell2010
--   ghc-options:         -threaded -rtsopts -with-rtsopts=-N
--   hs-source-dirs:      app
--   main-is:             Main.hs
--   build-depends:       base
--                      , vp-tree

test-suite spec
  default-language:    Haskell2010
  ghc-options:         -Wall
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , vp-tree
                     , hspec
                     , mwc-probability
                     , primitive
                     , QuickCheck
                     , vector

benchmark bench-memory
  type:                exitcode-stdio-1.0
  hs-source-dirs:      bench/memory
  main-is:             Main.hs
  build-depends:       base
                     , vp-tree
                     , bytestring
                     , conduit
                     , containers
                     , deepseq
                     , vector
                     , weigh
  ghc-options:         -Wall
                       -rtsopts
                       -with-rtsopts=-T
  default-language:    Haskell2010


source-repository head
  type:     git
  location: https://github.com/ocramz/vp-tree