cabal-version: 3.0
name: interval-patterns
version: 0.7.2
author: Melanie Brown
synopsis: Intervals, and monoids thereof
category: Algebra, Charts, Data Structures, Math, Statistics
maintainer: brown.m@pm.me
license: BSD-3-Clause
license-file: LICENSE
homepage: https://github.com/mixphix/interval-patterns
bug-reports: https://github.com/mixphix/interval-patterns/issues
extra-source-files: CHANGELOG.md
copyright: 2023 Melanie Brown
description:
Please see the README at https://github.com/mixphix/interval-patterns
common interval-patterns
build-depends:
, base >=4.11 && <5
, containers >=0.6.7 && <0.7
, deepseq >=1.4.8 && <1.6
, groups >=0.5.3 && <0.6
, hashable >=1.4.2 && <1.5
, heaps >=0.4 && <0.5
, lattices >=2.1 && <3
, semirings >=0.6 && <0.7
, time >=1.9.3 && <1.13
, time-compat >=1.9.6.1 && <1.10
default-language: GHC2021
default-extensions:
BlockArguments
DataKinds
DefaultSignatures
DerivingStrategies
LambdaCase
MultiWayIf
OverloadedStrings
PatternSynonyms
QuasiQuotes
RecordWildCards
TypeFamilies
ViewPatterns
ghc-options: -Wall -Wcompat -Wno-unticked-promoted-constructors
library
import: interval-patterns
hs-source-dirs: src
exposed-modules:
Data.Calendar
Data.Interval
Data.Interval.Borel
Data.Interval.Layers
Data.OneOrTwo
Data.Timeframe
test-suite tests
import: interval-patterns
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Main.hs
build-depends:
, hspec
, interval-patterns
, QuickCheck