@@ -275,7 +275,7 @@ instance Functor m => Functor (Parser m a) where
276{-# INLINE yield #-}
276{-# INLINE yield #-}
277yield :: b -> Parser m a b
277yield :: b -> Parser m a b
278−yield b = MkParser (\lo st yieldk -> yieldk st (Done (lo + 1) b))
278+yield b = MkParser $ \lo st yieldk -> yieldk st (Done lo b)
280-- | 'Applicative' form of 'Streamly.Internal.Data.Parser.splitWith'. Note that
280-- | 'Applicative' form of 'Streamly.Internal.Data.Parser.splitWith'. Note that
281-- this operation does not fuse, use 'Streamly.Internal.Data.Parser.splitWith'
281-- this operation does not fuse, use 'Streamly.Internal.Data.Parser.splitWith'