aboutsummaryrefslogtreecommitdiffhomepage
path: root/Pipes/Text/Parse.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Pipes/Text/Parse.hs')
-rw-r--r--Pipes/Text/Parse.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Pipes/Text/Parse.hs b/Pipes/Text/Parse.hs
index 9cabaa6..317f85d 100644
--- a/Pipes/Text/Parse.hs
+++ b/Pipes/Text/Parse.hs
@@ -41,7 +41,7 @@ nextChar = go
41 Just (c, txt') -> return (Right (c, yield txt' >> p')) 41 Just (c, txt') -> return (Right (c, yield txt' >> p'))
42{-# INLINABLE nextChar #-} 42{-# INLINABLE nextChar #-}
43 43
44{-| Draw one 'Char' from the underlying 'Producer', returning 'Left' if the 44{-| Draw one 'Char' from the underlying 'Producer', returning 'Nothing' if the
45 'Producer' is empty 45 'Producer' is empty
46-} 46-}
47drawChar :: (Monad m) => StateT (Producer Text m r) m (Maybe Char) 47drawChar :: (Monad m) => StateT (Producer Text m r) m (Maybe Char)