From c236a193ed710a29b6940b87bcbe05cb8f4a086a Mon Sep 17 00:00:00 2001 From: Bas van Dijk Date: Thu, 1 Sep 2011 13:49:36 +0000 Subject: Support vector >= 0.8 vector-0.8 provides a Read instance for Vectors. This patch hides hmatrix's own Read instance when vector >= 0.8. --- lib/Numeric/Vector.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'lib') diff --git a/lib/Numeric/Vector.hs b/lib/Numeric/Vector.hs index 5b72951..01637d5 100644 --- a/lib/Numeric/Vector.hs +++ b/lib/Numeric/Vector.hs @@ -41,7 +41,6 @@ instance (Show a, Storable a) => (Show (Vector a)) where #ifdef VECTOR -#if !MIN_VERSION_vector(0,8,0) instance (Element a, Read a) => Read (Vector a) where readsPrec _ s = [(fromList . read $ listnums, rest)] where (thing,trest) = breakAt ']' s -- cgit v1.2.3