-
Notifications
You must be signed in to change notification settings - Fork 15
/
numhask.cabal
89 lines (78 loc) · 2.14 KB
/
numhask.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
cabal-version: 3.0
name: numhask
version: 0.12.1.0
license: BSD-3-Clause
license-file: LICENSE
copyright: Tony Day (c) 2016
category: math
author: Tony Day
maintainer: tonyday567@gmail.com
homepage: https://github.com/tonyday567/numhask#readme
bug-reports: https://github.com/tonyday567/numhask/issues
synopsis: A numeric class hierarchy.
description:
This package provides alternative numeric classes over Prelude.
The numeric class constellation looks somewhat like:
![nh](docs/other/nh12.svg)
== Usage
>>> {-# LANGUAGE GHC2021 #-}
>>> {-# LANGUAGE RebindableSyntax #-}
>>> import NumHask.Prelude
See "NumHask" for a detailed overview.
build-type: Simple
tested-with:
, GHC == 9.10.1
, GHC == 9.6.5
, GHC == 9.8.2
extra-doc-files:
ChangeLog.md
other/*.svg
readme.md
source-repository head
type: git
location: https://github.com/tonyday567/numhask
common ghc-options-stanza
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wpartial-fields
-Wredundant-constraints
common ghc2021-stanza
default-language: GHC2021
library
import: ghc-options-stanza
import: ghc2021-stanza
hs-source-dirs: src
build-depends: , base >=4.14 && <5
exposed-modules:
NumHask
NumHask.Algebra.Action
NumHask.Algebra.Additive
NumHask.Algebra.Field
NumHask.Algebra.Group
NumHask.Algebra.Lattice
NumHask.Algebra.Metric
NumHask.Algebra.Multiplicative
NumHask.Algebra.Ring
NumHask.Data.Complex
NumHask.Data.Integral
NumHask.Data.Positive
NumHask.Data.Rational
NumHask.Data.Wrapped
NumHask.Exception
NumHask.Prelude
default-extensions: RebindableSyntax
test-suite doctests
import: ghc2021-stanza
main-is: doctests.hs
hs-source-dirs: test
build-depends:
, QuickCheck >=2.14 && <2.16
, base >=4.14 && <5
, doctest-parallel >=0.3 && <0.4
default-extensions: RebindableSyntax
ghc-options: -threaded
type: exitcode-stdio-1.0