interval-algebra 2.0.0 → 2.0.1
raw patch · 3 files changed
+32/−25 lines, 3 filesdep ~QuickCheckdep ~containersdep ~deepseqPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, containers, deepseq, foldl, hspec, nonempty-containers, safe, text, time, witherable
API changes (from Hackage documentation)
Files
- ChangeLog.md +7/−1
- interval-algebra.cabal +20/−20
- src/IntervalAlgebra/IntervalDiagram.hs +5/−4
ChangeLog.md view
@@ -1,6 +1,12 @@ # Changelog for interval-algebra -## 2.0+## 2.0.1++* Relaxes cabal package bounds; notably:+ * the `time` bounds gets a wider range+ * the `text` bounds include `2.0`++## 2.0.0 * Adds `Abitrary (Interval a)` instance generic over `Ord a, Arbitrary a`. * Removes the `moment'` function from the `IntervalSizeable` class.
interval-algebra.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: interval-algebra-version: 2.0.0+version: 2.0.1 synopsis: An implementation of Allen's interval algebra for temporal logic description: Please see the README on GitHub at <https://github.com/novisci/interval-algebra> category: Algebra,Time@@ -40,16 +40,16 @@ base >=4.7 && <5 , binary ^>= 0.8 , containers ^>= 0.6- , deepseq ^>= 1.4- , foldl ^>= 1.4.12- , nonempty-containers ^>= 0.3.4+ , deepseq >= 1.1 && < 1.5+ , foldl ^>= 1.4+ , nonempty-containers ^>= 0.3 , prettyprinter ^>= 1.7- , QuickCheck ^>= 2.14.2+ , QuickCheck ^>= 2.14 , safe ^>= 0.3- , text ^>= 1.2- , time ^>= 1.9+ , text ^>= 1.2 || ^>= 2.0+ , time >= 1.9 && < 2 , witch ^>= 1.0- , witherable ^>= 0.4.2+ , witherable ^>= 0.4 default-language: Haskell2010 test-suite axioms@@ -62,10 +62,10 @@ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5- , hspec ^>= 2.8.2+ , hspec , interval-algebra- , QuickCheck ^>= 2.14.2- , time ^>= 1.9+ , QuickCheck+ , time default-language: Haskell2010 test-suite relations@@ -78,10 +78,10 @@ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5- , hspec ^>= 2.8.2+ , hspec , interval-algebra- , QuickCheck ^>= 2.14.2- , time ^>= 1.9+ , QuickCheck + , time default-language: Haskell2010 test-suite interval-algebra-test@@ -99,13 +99,13 @@ ghc-options: -threaded -rtsopts -with-rtsopts=-N build-depends: base >=4.7 && <5- , containers ^>= 0.6- , hspec ^>= 2.8.2+ , containers+ , hspec , interval-algebra- , QuickCheck ^>= 2.14.2- , safe ^>= 0.3- , time ^>= 1.9- , witherable ^>= 0.4.2+ , QuickCheck+ , safe+ , time+ , witherable build-tool-depends: hspec-discover:hspec-discover >= 2.9.2 default-language: Haskell2010
src/IntervalAlgebra/IntervalDiagram.hs view
@@ -279,7 +279,8 @@ deriving (Eq, Show) {-|-A type containing information about how to configure pretty of an @'Axis'@+A type containing information on+how to configure the axis of an 'IntervalDiagram'. -} data AxisConfig = MkAxisConfig { placement :: Maybe AxisPlacement@@ -368,9 +369,9 @@ deriving (Eq, Show) {-|-Safely create an @'Axis'@.+Safely create an @Axis@. -See @'Axis'@ for examples.+See @Axis@ for examples. -} parseAxis :: [(Int, Char)]@@ -495,7 +496,7 @@ | PaddingWithNoAxis -- | Indicates that an error occurring when checking the document options. | OptionsError IntervalDiagramOptionsError- -- | Indicates something is wrong with the @'Axis'@.+ -- | Indicates something is wrong with the @Axis@. | AxisError AxisParseError -- | Indicates that at least one error occurred when parsing the interval lines. | IntervalLineError IntervalTextLineParseError