name: simple-affine-space
version: 0.2
cabal-version: >= 1.10
license: BSD3
license-file: LICENSE
author: Henrik Nilsson, Antony Courtney
maintainer: Ivan Perez (ivan.perez@keera.co.uk)
homepage: http://www.haskell.org/haskellwiki/Yampa
category: Reactivity, FRP
synopsis: A simple library for affine and vector spaces.
description:
Affine spaces and vector spaces with a few basic instances.
.
This library implements affine spaces and vector spaces. Two instances are
provided for affine spaces (points) and two more for vector spaces (vectors).
These definitions are strict, implement deepseq, and are designed to have
minimal memory overhead.
build-type: Simple
extra-source-files:
CHANGELOG
-- You can disable the hlint test suite with -f-test-hlint
flag test-hlint
Description: Enable hlint test suite
default: True
manual: True
-- You can disable the haddock coverage test suite with -f-test-doc-coverage
flag test-doc-coverage
Description: Enable haddock coverage test suite
default: True
manual: True
library
hs-source-dirs: src
ghc-options : -O3 -Wall -fno-warn-name-shadowing
build-Depends: base < 5, deepseq
exposed-modules:
Data.AffineSpace
Data.Point2
Data.Point3
Data.Vector2
Data.Vector3
Data.VectorSpace
default-language:
Haskell2010
test-suite hlint
type: exitcode-stdio-1.0
main-is: hlint.hs
hs-source-dirs: tests
default-language:
Haskell2010
if !flag(test-hlint)
buildable: False
else
build-depends:
base,
hlint >= 1.7
-- Verify that the code is thoroughly documented
test-suite haddock-coverage
type: exitcode-stdio-1.0
main-is: HaddockCoverage.hs
ghc-options: -Wall
hs-source-dirs: tests
default-language:
Haskell2010
if !flag(test-doc-coverage)
buildable: False
else
build-depends:
base >= 4 && < 5,
directory,
filepath,
process,
regex-posix
source-repository head
type: git
location: git://github.com/ivanperez-keera/simple-affine-space.git