hblock 0.1.0.1 → 0.1.0.2
raw patch · 2 files changed
+11/−9 lines, 2 filesdep ~basedep ~containersdep ~hashable
Dependency ranges changed: base, containers, hashable, safecopy, unordered-containers, vector
Files
- Data/HBlock.hs +4/−2
- hblock.cabal +7/−7
Data/HBlock.hs view
@@ -1,4 +1,5 @@-{-# LANGUAGE BangPatterns #-}+{-# LANGUAGE BangPatterns #-}+{-# LANGUAGE DeriveDataTypeable #-} module Data.HBlock where import Prelude hiding (foldr, foldl) import Data.Foldable (Foldable(..))@@ -11,6 +12,7 @@ import Data.SafeCopy import GHC.Exts (build) import qualified Data.List as L+import Data.Data (Typeable) -- import Data.Indexation.IxData (IxData(IxData, ixDataPos, ixData)) data HBlock a = HBlock { set :: !IntSet@@ -19,7 +21,7 @@ , numItems :: !Int , blockLen :: !Int , emptyVal :: !a- } + } deriving (Typeable) instance Functor HBlock where fmap f (HBlock s v len num blen e) =
hblock.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ name: hblock-version: 0.1.0.1+version: 0.1.0.2 synopsis: A mutable vector that provides indexation on the datatype fields it stores -- description: license: BSD3@@ -28,12 +28,12 @@ , DeriveDataTypeable , GeneralizedNewtypeDeriving ghc-options: -Wall -O2- build-depends: base >=4.6 && <4.7- , vector >=0.10 && <0.11- , containers >=0.5 && <0.6- , safecopy >=0.8 && <0.9- , unordered-containers >=0.2 && <0.3- , hashable >=1.2 && <1.3+ build-depends: base >=4 && < 5 + , vector >=0.10 + , containers >=0.5 + , safecopy >=0.8 + , unordered-containers >=0.2 + , hashable >=1.2 , uuid >=1.3.3 , blaze-markup , path-pieces