packages feed

hquantlib-time-0.1.0: hquantlib-time.cabal

cabal-version:  3.0
name:           hquantlib-time
version:        0.1.0
license:        LGPL-3.0-or-later
license-file:   LICENSE
author:         Pavel Ryzhov
maintainer:     Pavel Ryzhov <pavel.ryzhov@gmail.com>
category:       Finance
synopsis:       HQuantLib Time is a business calendar functions extracted from HQuantLib
description:    HQuantLib is intended to be a functional style port of QuantLib (http://quantlib.org)
build-type:     Simple
stability:      provisional
homepage:       http://github.com/paulrzcz/hquantlib-time.git
extra-doc-files:
        README.md
        CHANGELOG.md
tested-with:    GHC == 9.4.8

source-repository head
        type:           git
        location:       https://github.com/paulrzcz/hquantlib-time.git

source-repository this
        type:           git
        location:       https://github.com/paulrzcz/hquantlib-time.git
        tag:            0.1.0

flag optimize
        description : Enable optimizations for library and benchmarks
        default     : True

library
        default-language: Haskell2010
        exposed-modules:
                QuantLib.Time
                QuantLib.Time.Date
                QuantLib.Time.DayCounter

        build-depends:
                        base                    >3              && <5,
                        time                    >= 1.12.2       && < 1.13        

        hs-source-dirs: src
        ghc-options:    -Wall
        if flag(optimize)
                ghc-options: -funbox-strict-fields -fspec-constr -fdicts-cheap