git.iko.soy/typeable/attoparsec
on master help sign in
Fix compilation under GHC 6.12.1
commit6472db7835672d244aa15cd1694db4c386c84256 authorBryan O'Sullivan <bos@serpentine.com> dateTue 16 Feb 2010, 13:13 (17 years ago) parent2f478ec
1 file changed+2−1
Data/Attoparsec/Combinator.hs+2−1
Data/Attoparsec/Combinator.hs+2−1
@@ -28,7 +28,8 @@ module Data.Attoparsec.Combinator
2828 , many
2929 ) where
3030
31−import Control.Applicative (Alternative(..), Applicative(..), liftA2, (*>), (<$>))
31+import Control.Applicative (Alternative, Applicative(..), empty, liftA2,
32+ (<|>), (*>), (<$>))
3233
3334-- | @choice ps@ tries to apply the actions in the list @ps@ in order,
3435-- until one of them succeeds. Returns the value of the succeeding