-
Notifications
You must be signed in to change notification settings - Fork 0
/
algebra-simple.cabal
138 lines (127 loc) · 3.54 KB
/
algebra-simple.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
cabal-version: 2.4
name: algebra-simple
version: 0.1
license: MIT
license-file: LICENSE
tested-with:
GHC ==8.10.7
|| ==9.0.2
|| ==9.2.8
|| ==9.4.7
|| ==9.6.3
|| ==9.8.1
|| ==9.10.1
copyright: 2021-2024 Thomas Bidne
author: Thomas Bidne
maintainer: [email protected]
homepage: https://github.com/tbidne/algebra-simple/
bug-reports: https://github.com/tbidne/algebra-simple/issues
synopsis: An alternative mathematical interface to Num.
description:
@algebra-simple@ intends to provide a simple, reasonably principled
interface to typical mathematical operations (i.e. addition, subtraction,
multiplication, division). This package is organized into two sections:
.
1. "Numeric.Algebra": The typeclass replacements for 'Num'; this package's
raison d'être.
.
2. "Numeric.Convert": Typeclasses for conversions.
category: Math, Algebra
extra-source-files:
CHANGELOG.md
README.md
extra-doc-files: diagrams/hierarchy.png
source-repository head
type: git
location: https://github.com/tbidne/algebra-simple
common common-exts
default-extensions:
BangPatterns
DataKinds
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DeriveLift
DerivingStrategies
DerivingVia
FlexibleContexts
FlexibleInstances
FunctionalDependencies
GADTs
GeneralizedNewtypeDeriving
ImportQualifiedPost
InstanceSigs
LambdaCase
MultiParamTypeClasses
MultiWayIf
NegativeLiterals
NoStarIsType
NumericUnderscores
OverloadedStrings
PatternSynonyms
RankNTypes
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
TypeApplications
TypeFamilies
TypeOperators
default-language: Haskell2010
library
import: common-exts
exposed-modules:
Numeric.Algebra
Numeric.Algebra.Additive
Numeric.Algebra.Additive.AGroup
Numeric.Algebra.Additive.AMonoid
Numeric.Algebra.Additive.ASemigroup
Numeric.Algebra.Field
Numeric.Algebra.MetricSpace
Numeric.Algebra.Multiplicative
Numeric.Algebra.Multiplicative.MEuclidean
Numeric.Algebra.Multiplicative.MGroup
Numeric.Algebra.Multiplicative.MMonoid
Numeric.Algebra.Multiplicative.MSemigroup
Numeric.Algebra.Normed
Numeric.Algebra.Ring
Numeric.Algebra.Semifield
Numeric.Algebra.Semiring
Numeric.Algebra.Space
Numeric.Algebra.Space.Module
Numeric.Algebra.Space.MSemiSpace
Numeric.Algebra.Space.MSpace
Numeric.Algebra.Space.Semimodule
Numeric.Algebra.Space.SemivectorSpace
Numeric.Algebra.Space.VectorSpace
Numeric.Convert.Integer
Numeric.Convert.Internal
Numeric.Convert.Rational
Numeric.Convert.Real
build-depends: base >=4.14.0.0 && <4.21
hs-source-dirs: src
test-suite props
import: common-exts
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Equality
Gens
Test.Algebra.Additive.AGroup
Test.Algebra.Additive.AMonoid
Test.Algebra.Additive.ASemigroup
Test.Algebra.MetricSpace
Test.Algebra.Multiplicative.MEuclidean
Test.Algebra.Multiplicative.MGroup
Test.Algebra.Multiplicative.MMonoid
Test.Algebra.Multiplicative.MSemigroup
Test.Algebra.Normed
Test.TestBounds
Utils
build-depends:
, algebra-simple
, base
, hedgehog >=1.0.2 && <1.5
, tasty >=1.1.0.3 && <1.6
, tasty-hedgehog >=1.0.0.2 && <1.5
hs-source-dirs: test/props
ghc-options: -threaded -with-rtsopts=-N