packages feed

simple-media-timestamp 0.2.0.0 → 0.2.1.0

raw patch · 3 files changed

+22/−10 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

ChangeLog.md view
@@ -1,5 +1,9 @@ # Changelog for simple-media-timestamp +## v0.2.1.0++* Add DerivingStrategies and StandaloneKindSignatures.+ ## v0.2.0.0  * Use non-plural fields.
simple-media-timestamp.cabal view
@@ -1,12 +1,13 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.34.7. -- -- see: https://github.com/sol/hpack  name:           simple-media-timestamp-version:        0.2.0.0-synopsis:       A very simple timestamp.+version:        0.2.1.0+synopsis:       A very simple timestamp type.+description:    A very simple timestamp type, could be used for subtitles or video playback. category:       Media author:         Daniel Firth maintainer:     dan.firth@homotopic.tech@@ -20,7 +21,7 @@  source-repository head   type: git-  location: https://gitlab.com/homotopic-tech/simple-media-timestamp+  location: https://gitlab.homotopic.tech/haskell/simple-media-timestamp  library   exposed-modules:@@ -29,6 +30,10 @@       Paths_simple_media_timestamp   hs-source-dirs:       src+  default-extensions:+      DerivingStrategies+      StandaloneKindSignatures+  ghc-options: -Weverything -Wno-all-missed-specialisations -Wno-implicit-prelude -Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module -Wno-safe -Wno-unsafe   build-depends:       base >=4.7 && <5   default-language: Haskell2010
src/Media/Timestamp.hs view
@@ -10,22 +10,25 @@   ) where +import Data.Kind (Type) -- | Timestamp data type. -- -- @since 0.2.0.0+type Time :: Type data Time = Time-  { hour :: Int,-    minute :: Int,-    second :: Int,+  { hour        :: Int,+    minute      :: Int,+    second      :: Int,     millisecond :: Int   }-  deriving (Eq, Ord, Show)+  deriving stock (Eq, Ord, Show)  -- | Interval of two timestamps. -- -- @since 0.1.0.0+type Range :: Type data Range = Range   { from :: Time,-    to :: Time+    to   :: Time   }-  deriving (Eq, Ord, Show)+  deriving stock (Eq, Ord, Show)