Skip to content

Commit b8a5c72

Browse files
Merge pull request #78 from rndnoise/patch-1
Fix documentation for `whiteSpace`
2 parents 7305415 + b91f396 commit b8a5c72

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)