packages feed

simple-vec3-0.4.0.1: simple-vec3.cabal

name: simple-vec3
version: 0.4.0.1
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:
    Simple three-dimensional vectors of doubles with basic vector and matrix operations, supporting "Data.Vector.Unboxed" and "Data.Vector.Storable".
category: Math, Numerical
author: Dmitry Dzhus
extra-source-files:
    CHANGELOG.md
    README.md

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

library
    exposed-modules:
        Data.Vec3
        Data.Vec3.Class
    build-depends:
        QuickCheck <2.12,
        base <5,
        vector <0.13
    default-language: Haskell2010
    hs-source-dirs: src
    other-modules:
        Paths_simple_vec3
    ghc-options: -Wall -Wcompat -O2

test-suite  simple-vec3-doctests
    type: exitcode-stdio-1.0
    main-is: doctest-driver.hs
    build-depends:
        base <5,
        doctest <0.16,
        doctest-discover >=0.1.0.8 && <0.2
    default-language: Haskell2010
    hs-source-dirs: tests
    other-modules:
        Main
        Paths_simple_vec3
    ghc-options: -Wall -Wcompat -O2 -threaded
test-suite  simple-vec3-test
    type: exitcode-stdio-1.0
    main-is: Main.hs
    build-depends:
        base <5,
        simple-vec3 -any,
        tasty <1.1,
        tasty-quickcheck <0.10
    default-language: Haskell2010
    hs-source-dirs: tests
    other-modules:
        Paths_simple_vec3
    ghc-options: -Wall -Wcompat -O2

benchmark  simple-vec3-benchmark
    type: exitcode-stdio-1.0
    main-is: Benchmark.hs
    build-depends:
        base <5,
        criterion <1.4,
        simple-vec3 -any,
        vector <0.13
    default-language: Haskell2010
    hs-source-dirs: benchmark
    other-modules:
        Paths_simple_vec3
    ghc-options: -Wall -Wcompat -O2