60 lines
1.4 KiB
Plaintext
60 lines
1.4 KiB
Plaintext
cabal-version: 3.4
|
|
name: haskell-math
|
|
version: 0.1.0.0
|
|
-- synopsis:
|
|
-- description:
|
|
license: BSD-3-Clause
|
|
license-file: LICENSE
|
|
author: Sam HADOW
|
|
maintainer: sam.hadow@inbox.lv
|
|
category: Math
|
|
build-type: Simple
|
|
extra-doc-files: README.md
|
|
|
|
-- extra-source-files:
|
|
|
|
common warnings
|
|
ghc-options: -Wall
|
|
|
|
library
|
|
import: warnings
|
|
exposed-modules:
|
|
Primes
|
|
Factorization
|
|
ModularSquareRoot
|
|
ModularArithmeticUtils
|
|
other-modules:
|
|
Primes.FermatPrimeTest
|
|
Primes.MillerRabin
|
|
Primes.SolovayStrassen
|
|
Factorization.FermatFactorization
|
|
Factorization.PollardPminus1
|
|
ModularSquareRoot.TonelliShanks
|
|
build-depends:
|
|
base ^>=4.18.2.1,
|
|
random ^>=1.2
|
|
hs-source-dirs: src
|
|
default-language: GHC2021
|
|
|
|
executable haskell-math
|
|
import: warnings
|
|
main-is: Main.hs
|
|
other-modules:
|
|
FactorizationUI
|
|
Utils
|
|
build-depends:
|
|
base ^>=4.18.2.1,
|
|
haskell-math
|
|
hs-source-dirs: app
|
|
default-language: GHC2021
|
|
|
|
test-suite haskell-math-test
|
|
import: warnings
|
|
default-language: GHC2021
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: test
|
|
main-is: Main.hs
|
|
build-depends:
|
|
base ^>=4.18.2.1,
|
|
haskell-math
|