1. Bryan O'Sullivan
  2. attoparsec
  3. Pull requests

Pull requests

#1 Merged
Repository
jmillikin
Branch
default
Repository
bos
Branch
default

Fix attoparsec build in GHC 6.10

Author
  1. John Millikin
Reviewers
Description

attoparsec fails to builder in GHC 6.10:

{{{ Building attoparsec-0.9.1.1... [1 of 9] Compiling Data.Attoparsec.Internal.Types ( Data/Attoparsec/Internal/Types.hs, dist/build/Data/Attoparsec/Internal/Types.o )

Data/Attoparsec/Internal/Types.hs:161:4: *>' is not a (visible) method of classApplicative'

Data/Attoparsec/Internal/Types.hs:163:6: <*' is not a (visible) method of classApplicative' }}}

The functions {{{(<)}}} and {{{(>)}}} are not methods of class Applicative in base_4.1 or earlier. Since they are defined as an optimization, it is safe to guard the definitions in a version check on base.

  • Learn about pull requests

Comments (0)