1
- cabal-version : 2.2
2
- name : natural-arithmetic
3
- version : 0.2.1.0
4
- synopsis : Arithmetic of natural numbers
1
+ cabal-version : 2.2
2
+ name : natural-arithmetic
3
+ version : 0.2.1.0
4
+ synopsis : Arithmetic of natural numbers
5
5
description :
6
6
A search for terms like `arithmetic` and `natural` on hackage reveals
7
7
no shortage of libraries for handling the arithmetic of natural
@@ -18,7 +18,7 @@ description:
18
18
application code, not in library code. This is because libraries
19
19
should not require the presence of typechecker plugins. Technically,
20
20
they can (you could document it), but many developers will not
21
- use libraries that have unusual install procedures like this.
21
+ use libraries that have unusual install procedures like this.
22
22
.
23
23
This library , in places, requires users to use the 'TypeApplications`
24
24
language extension. This is done when a number is only need at
@@ -28,7 +28,7 @@ description:
28
28
in `Arithmetic.Lt` and `Arithmetic.Lte`. This is done in the interest
29
29
of making it easy for user to assemble proofs. Recall that proof
30
30
assembly is done by hand rather than by an SMT solver, so removing
31
- some tediousness from this is helpful to users.
31
+ some tediousness from this is helpful to users.
32
32
.
33
33
This library provides left and variants variants of several functions.
34
34
For example, `Arithmetic.Lte` provides both `substituteL` and
@@ -54,29 +54,40 @@ description:
54
54
* Decrement : Decrease an upper bound along with the bounded value
55
55
.
56
56
* Substitute : Replace a number with an equal number
57
- homepage : https://github.com/andrewthad/natural-arithmetic
58
- bug-reports : https://github.com/andrewthad/natural-arithmetic/issues
59
- license : BSD-3-Clause
60
- license-file : LICENSE
61
- author : Andrew Martin
62
- maintainer : andrew.thaddeus@gmail.com
63
- copyright : 2019 Andrew Martin
64
- category : Math
65
- extra-source-files : CHANGELOG.md
57
+
58
+ homepage : https://github.com/byteverse/natural-arithmetic
59
+ bug-reports : https://github.com/byteverse/natural-arithmetic/issues
60
+ license : BSD-3-Clause
61
+ license-file : LICENSE
62
+ author : Andrew Martin
63
+ maintainer : amartin@layer3com.com
64
+ copyright : 2019 Andrew Martin
65
+ category : Math
66
+ extra-doc-files : CHANGELOG.md
67
+
68
+ common build-settings
69
+ default-language : Haskell2010
70
+ ghc-options : -Wall -Wunused-packages
66
71
67
72
library
73
+ import : build-settings
68
74
exposed-modules :
69
- Arithmetic.Fin
70
75
Arithmetic.Equal
76
+ Arithmetic.Fin
71
77
Arithmetic.Lt
72
78
Arithmetic.Lte
73
79
Arithmetic.Nat
80
+ Arithmetic.Plus
74
81
Arithmetic.Types
75
82
Arithmetic.Unsafe
76
- Arithmetic.Plus
83
+
77
84
build-depends :
78
- , base>= 4.14 && < 5
79
- , unlifted >= 0.2.1
80
- hs-source-dirs : src
81
- default-language : Haskell2010
82
- ghc-options : -Wall -O2
85
+ , base >= 4.14 && < 5
86
+ , unlifted >= 0.2.1
87
+
88
+ hs-source-dirs : src
89
+ ghc-options : -O2
90
+
91
+ source-repository head
92
+ type : git
93
+ location : git://github.com/byteverse/natural-arithmetic.git
0 commit comments