haskell / attoparsec

A fast Haskell library for parsing ByteStrings
http://hackage.haskell.org/package/attoparsec
Other
512 stars 93 forks source link

Broken on GHC 7.8.4 and below #137

Closed ndmitchell closed 6 years ago

ndmitchell commented 6 years ago

The latest attoparsec-0.13.2.1 is broken on GHC 7.8.4 and below with the errors:

Data/Attoparsec/Text/Internal.hs:228:41:
    Not in scope: ‘*>’
    Perhaps you meant one of these:
      ‘*’ (imported from Prelude),
      ‘<>’ (imported from Data.Attoparsec.Internal.Types),
      ‘>>’ (imported from Prelude)

Data/Attoparsec/Text/Internal.hs:228:62: Not in scope: ‘pure’

Simply importing Control.Applicative will probably fix the issue. Alternatively, if you don't want to support that far back, consider making a hackage revision to require base 4.8 which is what you are really depending on.

hvr commented 6 years ago

Oh dear, can confirm: https://matrix.hackage.haskell.org/package/attoparsec

bgamari commented 6 years ago

Oh dear indeed.

bgamari commented 6 years ago

For the record, I am working on this.

bgamari commented 6 years ago

Fixed with 0.13.2.2.