summaryrefslogtreecommitdiff
path: root/lib/Numeric/Vector.hs
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Numeric/Vector.hs')
-rw-r--r--lib/Numeric/Vector.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Numeric/Vector.hs b/lib/Numeric/Vector.hs
index 01637d5..5b72951 100644
--- a/lib/Numeric/Vector.hs
+++ b/lib/Numeric/Vector.hs
@@ -41,6 +41,7 @@ instance (Show a, Storable a) => (Show (Vector a)) where
41 41
42#ifdef VECTOR 42#ifdef VECTOR
43 43
44#if !MIN_VERSION_vector(0,8,0)
44instance (Element a, Read a) => Read (Vector a) where 45instance (Element a, Read a) => Read (Vector a) where
45 readsPrec _ s = [(fromList . read $ listnums, rest)] 46 readsPrec _ s = [(fromList . read $ listnums, rest)]
46 where (thing,trest) = breakAt ']' s 47 where (thing,trest) = breakAt ']' s