packages feed

tempodb 0.2.2.3 → 0.2.2.4

raw patch · 2 files changed

+6/−3 lines, 2 files

Files

src/Database/Tempodb/Types.hs view
@@ -84,11 +84,14 @@     parseJSON = withText "ByteString" $ pure . encodeUtf8     {-# INLINE parseJSON #-} -data Num a => Data a = Data+data Data a = Data     { uid       :: Maybe IdOrKey     , timestamp :: Maybe TempoDBTime     , value     :: a-    } deriving (Show, Eq, Ord)+    } deriving (Show, Eq)++instance Ord a => Ord (Data a) where+    compare (Data _ t _) (Data _ t' _) = t `compare` t'  data Bulk a = Bulk     { timestmp   :: TempoDBTime
tempodb.cabal view
@@ -1,5 +1,5 @@ name:                tempodb-version:             0.2.2.3+version:             0.2.2.4 synopsis:            A small Haskell wrapper around the TempoDB api.  description:         TempoDB is a time-series database as-a-service with a