@@ -322,7 +322,7 @@ string s = takeWith (B.length s) (==s)
323stringTransform :: (B.ByteString -> B.ByteString) -> B.ByteString
323stringTransform :: (B.ByteString -> B.ByteString) -> B.ByteString
324 -> Parser B.ByteString
324 -> Parser B.ByteString
325−stringTransform f s = takeWith (B.length s) ((==s) . f)
325+stringTransform f s = takeWith (B.length s) ((==f s) . f)
326{-# INLINE stringTransform #-}
326{-# INLINE stringTransform #-}
328-- | Skip past input for as long as the predicate returns 'True'.
328-- | Skip past input for as long as the predicate returns 'True'.