Permalink
Browse files

tests: add Eq constraint on deltaEncDec (for ghc-7.4.1)

  • Loading branch information...
1 parent 5569a43 commit fbc3d096e64aaf56785781cc9f9e7b7eed83a891 @kfish committed Aug 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/Properties.hs
View
@@ -79,7 +79,7 @@ roundTripNListD7Double = roundTrip
----------------------------------------------------------------------
-- * Delta encoding roundtrips
-deltaEncDec :: Num a => [a] -> Bool
+deltaEncDec :: (Eq a, Num a) => [a] -> Bool
deltaEncDec xs = xs == encDec
where
encDec = deltaDecode (deltaEncode xs)

0 comments on commit fbc3d09

Please sign in to comment.