-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinite-fields.cabal
112 lines (88 loc) · 4.16 KB
/
finite-fields.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
Name: finite-fields
Version: 0.2.0.1
Synopsis: Arithmetic in finite fields
Description: Implementation of arithmetic in finite fields (prime fields
and fields of prime power order). Finite fields are
ubiquitous in algebraic geometry, number theory and cryptography.
For now the focus is on relatively small fields,
but algorithms for big fields (required in cryptography)
may be added later.
License: BSD3
License-file: LICENSE
Author: Balazs Komuves
Copyright: (c) 2021-2023 Balazs Komuves
Maintainer: bkomuves (plus) hackage (at) gmail (dot) com
Homepage: https://github.com/bkomuves/finite-fields
Stability: Experimental
Category: Math
Tested-With: GHC == 8.6.5, GHC == 9.0.2
Cabal-Version: 1.24
Build-Type: Custom
extra-source-files: conway/ConwayPolynomials.txt
conway/README.txt
examples/curve_count.hs
cbits/zech.h
cbits/zech.c
cbits/conway_table.c
source-repository head
type: git
location: https://github.com/bkomuves/finite-fields
custom-setup
setup-depends: base >= 4 && < 5,
Cabal >= 2.4 && < 4,
filepath >= 1.0 && < 2,
directory >= 1.0 && < 2
--------------------------------------------------------------------------------
Library
Build-Depends: base >= 4 && < 5,
containers >= 0.5 && < 1,
vector >= 0.12 && < 1,
random >= 1.1 && < 2
Exposed-Modules:
Math.FiniteField.Class
Math.FiniteField.PrimeField.Generic
Math.FiniteField.PrimeField.Small
Math.FiniteField.GaloisField.Small
Math.FiniteField.GaloisField.Zech
Math.FiniteField.GaloisField.Zech.C
Math.FiniteField.Conway
Math.FiniteField.TypeLevel
Math.FiniteField.Primes
Math.FiniteField.Sign
Other-Modules: Math.FiniteField.TypeLevel.Singleton
Math.FiniteField.Conway.Internal
Math.FiniteField.PrimeField.Generic.Raw
Math.FiniteField.PrimeField.Small.Raw
Math.FiniteField.GaloisField.Small.Internal
Math.FiniteField.Misc
Default-Language: Haskell2010
Default-Extensions: CPP, BangPatterns, KindSignatures, DataKinds
Hs-Source-Dirs: src
include-dirs: cbits
includes: cbits/zech.h
C-Sources: cbits/conway_table.c
cbits/zech.c
ghc-options: -fwarn-tabs -fno-warn-unused-matches -fno-warn-name-shadowing -fno-warn-unused-imports
-- cc-options: -O3
--------------------------------------------------------------------------------
test-suite finite-fields-tests
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: TestSuite.hs
other-modules: Test.FieldTests
Test.SubFields
Test.ConcreteFields
Test.FieldProperties
Test.WitnessStore
Test.Common
Build-Depends: base >= 4 && < 5,
random >= 1.1 && < 2,
containers >= 0.5 && < 1,
tasty >= 1.1 && < 2,
QuickCheck >= 2 && < 3,
tasty-quickcheck >= 0.10 && < 2,
finite-fields
-- smallcheck >= 1.2, tasty-smallcheck
-- tasty-hunit,
Default-Language: Haskell2010
Default-Extensions: CPP, BangPatterns, KindSignatures, DataKinds