packages feed

simple-vec3-0.2: simple-vec3.cabal

name: simple-vec3
version: 0.2
cabal-version: >=1.10
build-type: Simple
license: BSD3
license-file: LICENSE
maintainer: <dima@dzhus.org>
homepage: https://github.com/dzhus/simple-vec3#readme
bug-reports: https://github.com/dzhus/simple-vec3/issues
synopsis: Three-dimensional vectors of doubles with basic operations
description:
    A class of 3-vectors with a set of basic methods for geometry operations on vectors and an associated matrix type. Instances are provided for use with "Data.Vector.Unboxed" and "Data.Vector.Storable" as container types.
category: Math, Numerical
author: Dmitry Dzhus

source-repository head
    type: git
    location: https://github.com/dzhus/simple-vec3

library
    exposed-modules:
        Data.Vec3
        Data.Vec3.Class
        Data.Vec3.Unboxed
        Data.Vec3.Unboxed.Contiguous
    build-depends:
        base >=4.9.0.0 && <5,
        QuickCheck >=2.8.2,
        vector >=0.11.0.0,
        vector-th-unbox >=0.2.1.6
    default-language: Haskell2010
    hs-source-dirs: src
    ghc-options: -Wall

test-suite pythia-recommender-test
    type: exitcode-stdio-1.0
    main-is: Tests.hs
    build-depends:
        base >=4.9.0.0 && <5,
        QuickCheck >=2.8.2,
        vector >=0.11.0.0,
        vector-th-unbox >=0.2.1.6,
        simple-vec3 >=0.2,
        tasty >=0.11.0.4,
        tasty-quickcheck >=0.8.4,
        tasty-th >=0.1.4
    default-language: Haskell2010
    hs-source-dirs: tests
    ghc-options: -Wall

benchmark simple-vec3-benchmark
    type: exitcode-stdio-1.0
    main-is: Benchmark.hs
    build-depends:
        base >=4.9.0.0 && <5,
        QuickCheck >=2.8.2,
        vector >=0.11.0.0,
        vector-th-unbox >=0.2.1.6,
        criterion >=1.1.1.0,
        simple-vec3 >=0.2
    default-language: Haskell2010
    hs-source-dirs: benchmark
    ghc-options: -Wall