@@ -202,6 +202,7 @@ instance (Monoid t) => Alternative (Parser t) where
202202 (<|>) = plus
203203 {-# INLINE (<|>) #-}
204204
205+#if MIN_VERSION_base(4,2,0)
205206 many v = many_v
206207 where many_v = some_v <|> pure []
207208 some_v = (:) <$> v <*> many_v
@@ -212,6 +213,7 @@ instance (Monoid t) => Alternative (Parser t) where
212213 many_v = some_v <|> pure []
213214 some_v = (:) <$> v <*> many_v
214215 {-# INLINE some #-}
216+#endif
215217
216218failDesc :: String -> Parser t a
217219failDesc err = Parser (\i0 a0 m0 kf _ks -> kf i0 a0 m0 [] msg)