-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmodular-arithmetic.cabal
42 lines (36 loc) · 1.62 KB
/
modular-arithmetic.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
cabal-version: 2.2
name: modular-arithmetic
version: 2.0.0.3
synopsis: A type for integers modulo some constant.
description: A convenient type for working with integers modulo some constant. It saves you from manually wrapping numeric operations all over the place and prevents a range of simple mistakes. @Integer `Mod` 7@ is the type of integers (mod 7) backed by @Integer@.
We also have some cute syntax for these types like @ℤ/7@ for integers modulo 7.
homepage: https://github.com/TikhonJelvis/modular-arithmetic
bug-reports: https://github.com/TikhonJelvis/modular-arithmetic/issues
license: BSD-3-Clause
license-file: LICENSE
author: Tikhon Jelvis <[email protected]>
maintainer: Tikhon Jelvis <[email protected]>
category: Math
build-type: Simple
extra-doc-files: README.md
, CHANGELOG.md
source-repository head
type: git
location: git://github.com/TikhonJelvis/modular-arithmetic.git
library
hs-source-dirs: src
ghc-options: -Wall
default-language: Haskell2010
exposed-modules: Data.Modular
build-depends: base >4.9 && <5
if impl(ghc < 9.2.1)
build-depends: typelits-witnesses <0.5
test-suite examples
hs-source-dirs: test-suite, src
main-is: DocTest.hs
default-language: Haskell2010
type: exitcode-stdio-1.0
build-depends: base >4.9 && <5
, doctest >= 0.9 && <0.22
if impl(ghc < 9.2.1)
build-depends: typelits-witnesses <0.5