packages feed

mapalgebra-0.1.0: mapalgebra.cabal

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

name:           mapalgebra
version:        0.1.0
synopsis:       Efficient, polymorphic Map Algebra.
description:    Efficient, polymorphic Map Algebra.
                .
                This library is an implementation of /Map Algebra/ as described in the book /GIS and Cartographic Modeling/ by Dana Tomlin. The fundamental type, the `Raster`, is typesafe. Rasters of different size and projection are considered different types, and so cannot be combined in any way.
                .
                Also featured are op fusion (i.e. "lazy Rasters"), extremely fast Focal Operations, and typesafe NoData handling. Please see the main module for a more detailed introduction.
category:       Geography
homepage:       https://github.com/fosskers/mapalgebra
author:         Colin Woodbury
maintainer:     colin@fosskers.ca
copyright:      2018 Colin Woodbury
license:        BSD3
license-file:   LICENSE
build-type:     Simple
cabal-version:  >= 1.10

extra-source-files:
    CHANGELOG.md
    data/1024x1024.tif
    data/256x256.tif
    data/512x512.tif
    data/gray512.tif
    README.md

library
  hs-source-dirs:
      lib
  ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -fwarn-unused-matches -fwarn-incomplete-patterns -Wincomplete-uni-patterns
  build-depends:
      base >=4.9 && <4.12
    , bytestring
    , containers
    , data-default
    , deepseq
    , hmatrix >=0.18 && <0.19
    , massiv >=0.1 && <0.2
    , massiv-io >=0.1 && <0.2
    , vector >=0.11 && <0.13
  exposed-modules:
      Geography.MapAlgebra
  default-language: Haskell2010

test-suite mapalgebra-test
  type: exitcode-stdio-1.0
  main-is: Test.hs
  hs-source-dirs:
      test
  ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -fwarn-unused-matches -fwarn-incomplete-patterns -Wincomplete-uni-patterns -threaded -with-rtsopts=-N
  build-depends:
      HUnit-approx >=1.1 && <1.2
    , QuickCheck
    , base >=4.9 && <4.12
    , bytestring
    , containers
    , data-default
    , deepseq
    , hmatrix >=0.18 && <0.19
    , mapalgebra
    , massiv >=0.1 && <0.2
    , massiv-io >=0.1 && <0.2
    , tasty >=0.11 && <2.0
    , tasty-hunit >=0.9 && <0.11
    , tasty-quickcheck >=0.8 && <0.10
    , vector >=0.11 && <0.13
  default-language: Haskell2010

benchmark mapalgebra-bench
  type: exitcode-stdio-1.0
  main-is: Bench.hs
  hs-source-dirs:
      bench
  ghc-options: -fwarn-unused-imports -fwarn-unused-binds -fwarn-name-shadowing -fwarn-unused-matches -fwarn-incomplete-patterns -Wincomplete-uni-patterns -threaded -O2 -with-rtsopts=-N
  build-depends:
      base >=4.9 && <4.12
    , bytestring
    , containers
    , criterion >=1.1 && <1.4
    , data-default
    , deepseq
    , hmatrix >=0.18 && <0.19
    , mapalgebra
    , massiv >=0.1 && <0.2
    , massiv-io >=0.1 && <0.2
    , vector >=0.11 && <0.13
  default-language: Haskell2010