/
numhask.cabal
81 lines (70 loc) · 1.93 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
cabal-version: 3.0
name: numhask
version: 0.12.0.2
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.4.8 || ==9.6.4 || ==9.8.1
extra-doc-files:
readme.md
ChangeLog.md
other/*.svg
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
common docspec
x-docspec-extra-packages: QuickCheck
build-depends: QuickCheck >= 2.14 && < 2.15
library
import: ghc-options-stanza
import: ghc2021-stanza
import: docspec
hs-source-dirs: src
build-depends:
, base >=4.7 && <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