packages feed

hquantlib-0.0.2.4: hquantlib.cabal

name:           hquantlib
version:        0.0.2.4
license:        LGPL
license-file:   LICENSE
author:         Pavel Ryzhov
maintainer:     Pavel Ryzhov <pavel.ryzhov@gmail.com>
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