mirror of
https://github.com/mrkkrp/megaparsec.git
synced 2024-12-28 18:54:34 +03:00
Fix the build for older GHCs
This commit is contained in:
parent
4ba5bd7df1
commit
c2c33045cc
@ -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@.
|
||||
|
Loading…
Reference in New Issue
Block a user