forked from paulrzcz/hquantlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhquantlib.cabal
92 lines (83 loc) · 3.51 KB
/
hquantlib.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
name: hquantlib
version: 0.0.2.4
license: LGPL
license-file: LICENSE
author: Pavel Ryzhov
maintainer: Pavel Ryzhov <[email protected]>
category: Finance
synopsis: HQuantLib is a port of essencial parts of QuantLib to Haskell
description: HQuantLib is intended to be a functional style port of QuantLib (http://quantlib.org)
build-type: Simple
stability: alpha
homepage: http://github.com/paulrzcz/hquantlib.git
cabal-version: >= 1.10.0
source-repository head
type: git
location: https://github.com/paulrzcz/hquantlib.git
source-repository this
type: git
location: https://github.com/paulrzcz/hquantlib.git
tag: 0.0.2.4
flag optimize
description : Enable optimizations for library and benchmarks
default : True
library
default-language: Haskell2010
exposed-modules:
QuantLib
QuantLib.Event
QuantLib.Instruments
QuantLib.Currencies
QuantLib.Stochastic
QuantLib.Priceable
QuantLib.PricingEngines
QuantLib.PricingEngines.BlackFormula
QuantLib.Quotes
QuantLib.Time
QuantLib.TimeSeries
QuantLib.Money
QuantLib.Math
QuantLib.Math.Copulas
QuantLib.Models
QuantLib.Models.Volatility
QuantLib.Prices
QuantLib.Position
QuantLib.Options
QuantLib.Methods.MonteCarlo
other-modules:
QuantLib.Currencies.America
QuantLib.Currencies.Europe
QuantLib.Instruments.Instrument
QuantLib.Instruments.Stock
QuantLib.Stochastic.Discretize
QuantLib.Stochastic.Process
QuantLib.Stochastic.Random
QuantLib.Currency
QuantLib.Time.Date
QuantLib.Time.DayCounter
QuantLib.Math.InverseNormal
build-depends:
base >3 && <5,
time >= 1.4.0.0 && < 1.5.0.0,
containers >= 0.5.0.0 && < 0.6.0.0,
hmatrix >= 0.14.0.0 && < 0.15.0.0,
hmatrix-special >= 0.2.0 && < 0.3.0,
parallel >= 3.2.0.0 && < 3.3.0.0,
mersenne-random >= 1.0.0.1 && < 2.0.0.0,
statistics >= 0.10.4.0 && < 0.11.0.0,
vector >= 0.10.0.0 && < 0.11.0.0
hs-source-dirs: src
ghc-options: -Wall
if flag(optimize)
ghc-options: -funbox-strict-fields -O2 -fspec-constr -fdicts-cheap
Test-Suite main-test
default-language: Haskell2010
type : exitcode-stdio-1.0
main-is : Test.hs
hs-source-dirs : src
build-depends : base,
test-framework >= 0.8 && < 0.9,
test-framework-hunit >= 0.3.0 && < 0.4.0,
test-framework-quickcheck2 >= 0.3.0.0 && < 0.4.0,
QuickCheck >= 2.5.0 && < 2.6.0,
HUnit >= 1.2.5.2 && < 2.0.0.0