Permalink
Browse files

Tighten version range.

  • Loading branch information...
1 parent 3a06c0a commit f5edec34b94ce6572ccc1290e90b34fb023a02ac @TomMD committed May 6, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 Codec/Picture/Repa.hs
  2. +2 −2 JuicyPixels-repa.cabal
View
@@ -133,7 +133,7 @@ toForeignPtr = S.unsafeToForeignPtr . S.convert . RU.toUnboxed . imgData
-- and other C interfaces. Notice the format of the data depends on
-- the type of the 'Img a'. O(n)
toVector :: Img a -> S.Vector Word8
-toVector (Img a) = S.convert (RU.toUnboxed a)
+toVector (Img a) = S.convert . RU.toUnboxed $ a
-- Helper functions --
getChannel :: Int -> PixelRGBA8 -> Word8
View
@@ -1,5 +1,5 @@
Name: JuicyPixels-repa
-Version: 0.3
+Version: 0.3.1
Synopsis: Convenience functions to obtain array representations of images.
Description: This wraps the Juicy.Pixels library to convert into 'Repa' and
'Data.Vector.Storable' formats.
@@ -18,7 +18,7 @@ Cabal-version: >=1.6
Library
Exposed-modules: Codec.Picture.Repa
- Build-depends: base >= 4.0 && < 5, repa >= 2.1 && < 3.1
+ Build-depends: base >= 4.0 && < 5, repa >= 3.0 && < 3.1
, JuicyPixels >= 1.1 && < 1.3
, vector >= 0.9 && < 0.10
, bytestring >= 0.9 && < 0.10

0 comments on commit f5edec3

Please sign in to comment.