Skip to content

Commit b91f396

Browse files
authored
Fix documentation for whiteSpace
1 parent 7305415 commit b91f396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Text/Parsing/Parser/String.purs

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ satisfy f = tryRethrow do
7373
char :: forall s m. StringLike s => Monad m => Char -> ParserT s m Char
7474
char c = satisfy (_ == c) <?> show c
7575

76-
-- | Match a whitespace character.
76+
-- | Match zero or more whitespace characters.
7777
whiteSpace :: forall s m. StringLike s => Monad m => ParserT s m String
7878
whiteSpace = do
7979
cs <- many $ satisfy \c -> c == '\n' || c == '\r' || c == ' ' || c == '\t'

0 commit comments

Comments
 (0)