packages feed

zoom-cache 1.2.0.0 → 1.2.1.0

raw patch · 10 files changed

+25/−14 lines, 10 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Data.ZoomCache: class Typeable a => ZoomReadable a
+ Data.ZoomCache: class Typeable a => ZoomReadable a where { data family SummaryData a :: *; { deltaDecodeRaw = id } }

Files

Data/ZoomCache/Codec.hs view
@@ -22,7 +22,6 @@ module Data.ZoomCache.Codec (     -- * Required interfaces       ZoomReadable(..)-    , SummaryData()     , ZoomWritable(..)     , ZoomWrite(..) 
Data/ZoomCache/Dump.hs view
@@ -24,7 +24,6 @@ ) where  import Control.Applicative ((<$>))-import Data.Int import qualified Data.IntMap as IM import qualified Data.Iteratee as I import qualified Data.Iteratee.IO.OffsetFd as OffI
Data/ZoomCache/Multichannel/List.hs view
@@ -22,8 +22,8 @@ ----------------------------------------------------------------------  module Data.ZoomCache.Multichannel.List (-      SummaryData(..)-    , SummaryWork(..)+      SummaryData()+    , SummaryWork()      , wholeTrackSummaryListDouble     , enumListDouble
Data/ZoomCache/NList.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -Wall #-}@@ -34,7 +35,11 @@     (NList _ a1) == (NList _ a2) = a1 == a2  instance Typeable a => Typeable (NList n a) where+#if __GLASGOW_HASKELL__ >= 702     typeOf _ = mkTyConApp (mkTyCon3 "zoom-cache" "Data.ZoomCache.NList" "NList") [typeOf (undefined :: a)]+#else+    typeOf _ = mkTyConApp (mkTyCon "Data.ZoomCache.NList") [typeOf (undefined :: a)]+#endif  instance (Nat n, Arbitrary a) => Arbitrary (NList n a) where     arbitrary = NList unify <$> sequence [ arbitrary | _ <- [1..(toInt unify)] ]
Data/ZoomCache/Numeric.hs view
@@ -48,7 +48,6 @@ import Data.Offset import Data.ZoomCache import Data.ZoomCache.Numeric.Types-import Data.ZoomCache.Types  ---------------------------------------------------------------------- 
Data/ZoomCache/Numeric/IEEE754.hs view
@@ -83,9 +83,12 @@     , SummaryWork(..) )where +#if __GLASGOW_HASKELL__ >= 702 import Blaze.ByteString.Builder import Data.ByteString (ByteString) import Data.Iteratee (Iteratee)+#endif+ import Text.Printf  import Data.ZoomCache.Codec
Data/ZoomCache/Numeric/Int.hs view
@@ -173,11 +173,14 @@     , SummaryWork(..) )where +#if __GLASGOW_HASKELL__ >= 702+import Data.ByteString (ByteString)+import Data.Iteratee (Iteratee)+#endif+ import Blaze.ByteString.Builder import Control.Applicative ((<$>))-import Data.ByteString (ByteString) import Data.Int-import Data.Iteratee (Iteratee) import Data.Maybe (fromMaybe) import Text.Printf 
Data/ZoomCache/Numeric/Word.hs view
@@ -144,10 +144,13 @@     , SummaryWork(..) )where -import Blaze.ByteString.Builder-import Control.Applicative ((<$>))+#if __GLASGOW_HASKELL__ >= 702 import Data.ByteString (ByteString) import Data.Iteratee (Iteratee)+#endif++import Blaze.ByteString.Builder+import Control.Applicative ((<$>)) import Data.Word import Text.Printf 
Data/ZoomCache/Types.hs view
@@ -60,7 +60,6 @@      , PacketSO(..)     , SummarySO(..)-    , SummaryData()      , summarySODuration @@ -74,7 +73,6 @@ import Blaze.ByteString.Builder import Data.ByteString (ByteString) import Data.Dynamic-import Data.Int import Data.IntMap (IntMap) import qualified Data.IntMap as IM import Data.Iteratee (Iteratee)
zoom-cache.cabal view
@@ -3,7 +3,7 @@ -- The package version. See the Haskell package versioning policy -- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for -- standards guiding when and how versions should be incremented.-Version:             1.2.0.0+Version:             1.2.1.0  Synopsis:            A streamable, seekable, zoomable cache file format @@ -15,9 +15,11 @@     to move around and to zoom in and out.     .     This library provides a monadic writing and an iteratee reading interface-    for zoom-cache files.+    for zoom-cache files. To build GUI applications, see the scope package:     .-    What's neat about this format and library? Glad you asked!+    <http://hackage.haskell.org/package/scope>+    .+    What's neat about the zoom-cache format and library? Glad you asked!     .         * Data can be stored at variable or constant rates. For variable rate     data, a timestamp is explicitly written into the file for every value,