smallarray 0.2.2.1 → 0.2.2.2
raw patch · 4 files changed
+26/−4 lines, 4 files
Files
- CHANGELOG +19/−0
- Data/ByteArray.hs +1/−1
- Data/SmallArray/Internal.hs +2/−1
- smallarray.cabal +4/−2
+ CHANGELOG view
@@ -0,0 +1,19 @@++0.2.2.2++* Change how INLINE pragmas are used so that we compile with GHC 7.2++0.2.2.1++* Relax requirement on 'base' package version+* Clean up package description+* Clean up benchmarking scripts+* Small performance tweaks++0.2.1++* Fix Hashable instance for FFI-version++0.2.0++* Add instance for Hashable
Data/ByteArray.hs view
@@ -56,13 +56,13 @@ #else import Foreign hiding (new)+import Data.ByteString.Internal (inlinePerformIO) #endif import Prelude hiding (length) import Control.Monad.ST import Control.DeepSeq -import Data.ByteString.Internal (inlinePerformIO) import qualified Data.Hashable as H #if defined(USING_GHC)
Data/SmallArray/Internal.hs view
@@ -97,10 +97,10 @@ class IArray a where -- | Return the length of an array. length :: a -> Int- {-# INLINE length #-} instance Elt a => IArray (Array a) where length = arrayLen+ {-# INLINE length #-} arrayLen :: Elt a => Array a -> Int arrayLen a@(A arr)@@ -112,6 +112,7 @@ instance Elt a => IArray (MArray s a) where length = marrayLen+ {-# INLINE length #-} marrayLen :: Elt a => MArray s a -> Int marrayLen a@(M arr)
smallarray.cabal view
@@ -3,7 +3,7 @@ -- 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: 0.2.2.1+Version: 0.2.2.2 Synopsis: low-level unboxed arrays, with minimal features. @@ -20,7 +20,7 @@ Author: Antoine Latter Maintainer: aslatter@gmail.com-Copyright: Antoine Latter, 2010+Copyright: Antoine Latter, 2010-2011 -- Stability of the pakcage (experimental, provisional, stable...) Stability: Experimental@@ -34,6 +34,8 @@ -- Extra-source-files: Cabal-version: >=1.6++Extra-source-files: CHANGELOG Source-repository head Type: darcs