packages feed

numhask-0.8.0.0: numhask.cabal

cabal-version: 2.4
name: numhask
version: 0.8.0.0
synopsis:
  A numeric class hierarchy.
description:
    This package provides alternative numeric classes over Prelude.
    .
    The numeric class constellation looks somewhat like:
    .
    ![nh](docs/other/nh.svg)
    .
    == Usage
    .
    >>> {-# LANGUAGE RebindableSyntax #-}
    >>> import NumHask.Prelude
    .
    See "NumHask" for a detailed overview.

category:
  mathematics
homepage:
  https://github.com/tonyday567/numhask#readme
bug-reports:
  https://github.com/tonyday567/numhask/issues
author:
  Tony Day
maintainer:
  tonyday567@gmail.com
copyright:
  Tony Day
license:
  BSD-3-Clause
license-file:
  LICENSE
build-type:
  Simple
tested-with:
  GHC ==8.8.4
   || ==8.10.2
   || ==8.10.4
   || ==9.0.1

extra-doc-files:
  other/*.svg

extra-source-files:
  readme.md
  ChangeLog.md

source-repository head
  type:
    git
  location:
    https://github.com/tonyday567/numhask
  subdir:
    numhask
library
  hs-source-dirs:
    src
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints
    -fwrite-ide-info
    -hiedir=.hie
  build-depends:
    base >=4.7 && <5
  exposed-modules:
    NumHask
    NumHask.Algebra.Additive
    NumHask.Algebra.Field
    NumHask.Algebra.Group
    NumHask.Algebra.Lattice
    NumHask.Algebra.Metric
    NumHask.Algebra.Module
    NumHask.Algebra.Multiplicative
    NumHask.Algebra.Ring
    NumHask.Data.Complex
    NumHask.Data.Integral
    NumHask.Data.Rational
    NumHask.Exception
    NumHask.Prelude
  other-modules:
  default-language: Haskell2010

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs:
    test
  build-depends:
    QuickCheck >= 2.13 && < 2.15,
    base >=4.7 && <5,
    doctest >= 0.18 && < 0.19
  default-language: Haskell2010
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints