From c2c33045cc81cffb3b179e7b87a8c8c7aac27366 Mon Sep 17 00:00:00 2001 From: mrkkrp Date: Sun, 7 Feb 2016 20:50:27 +0600 Subject: [PATCH] Fix the build for older GHCs --- Text/Megaparsec/Combinator.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Text/Megaparsec/Combinator.hs b/Text/Megaparsec/Combinator.hs index e49cef6..5d80449 100644 --- a/Text/Megaparsec/Combinator.hs +++ b/Text/Megaparsec/Combinator.hs @@ -36,6 +36,7 @@ import Data.Foldable (asum) #if !MIN_VERSION_base(4,8,0) import Data.Foldable (Foldable) +import Data.Traversable (sequenceA) #endif -- | @between open close p@ parses @open@, followed by @p@ and @close@.