[project @ 2005-10-21 16:31:23 by ross]
authorross <unknown>
Fri, 21 Oct 2005 16:31:23 +0000 (16:31 +0000)
committerross <unknown>
Fri, 21 Oct 2005 16:31:23 +0000 (16:31 +0000)
oops

Data/IntMap.hs
Data/IntSet.hs
Data/Map.hs
Data/Sequence.hs
Data/Set.hs

index 318fe59..e6a9594 100644 (file)
@@ -1004,8 +1004,8 @@ instance (Read e) => Read (IntMap e) where
     return (fromList xs)
 #else
   readsPrec p = readParen (p > 10) $ \ r -> do
-    ("fromList",s) <- lex
-    (xs,t) <- reads
+    ("fromList",s) <- lex r
+    (xs,t) <- reads s
     return (fromList xs,t)
 #endif
 
index c41ed17..49ccd0f 100644 (file)
@@ -606,8 +606,8 @@ instance Read IntSet where
     return (fromList xs)
 #else
   readsPrec p = readParen (p > 10) $ \ r -> do
-    ("fromList",s) <- lex
-    (xs,t) <- reads
+    ("fromList",s) <- lex r
+    (xs,t) <- reads s
     return (fromList xs,t)
 #endif
 
index fd432e2..5aeffc5 100644 (file)
@@ -1316,8 +1316,8 @@ instance (Ord k, Read k, Read e) => Read (Map k e) where
     return (fromList xs)
 #else
   readsPrec p = readParen (p > 10) $ \ r -> do
-    ("fromList",s) <- lex
-    (xs,t) <- reads
+    ("fromList",s) <- lex r
+    (xs,t) <- reads s
     return (fromList xs,t)
 #endif
 
index 50c2447..0bf80d5 100644 (file)
@@ -152,8 +152,8 @@ instance Read a => Read (Seq a) where
                return (fromList xs)
 #else
        readsPrec p = readParen (p > 10) $ \ r -> do
-               ("fromList",s) <- lex
-               (xs,t) <- reads
+               ("fromList",s) <- lex r
+               (xs,t) <- reads s
                return (fromList xs,t)
 #endif
 
index fd09eb0..fad370c 100644 (file)
@@ -536,8 +536,8 @@ instance (Read a, Ord a) => Read (Set a) where
     return (fromList xs)
 #else
   readsPrec p = readParen (p > 10) $ \ r -> do
-    ("fromList",s) <- lex
-    (xs,t) <- reads
+    ("fromList",s) <- lex r
+    (xs,t) <- reads s
     return (fromList xs,t)
 #endif