diff options
Diffstat (limited to 'Pipes/Text')
-rw-r--r-- | Pipes/Text/Parse.hs | 2 |
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 | -} |
47 | drawChar :: (Monad m) => StateT (Producer Text m r) m (Maybe Char) | 47 | drawChar :: (Monad m) => StateT (Producer Text m r) m (Maybe Char) |