eof

Succeeds iff we are at the end of input
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyToken <?> "end of input"
This parser only succeeds at the end of input.
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyToken <?> "end of input"
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyChar <?> "end of input"
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyChar <?> "end of input"
Succeed if the end of file/input has been reached, fail otherwise.
Matches the end of input
>>> match eof "1"
[]

>>> match eof ""
[()]
Fail if end of input is not reached
Succeed if the end of file/input has been reached, fail otherwise.
Succeed if the end of file/input has been reached, fail otherwise.
Succeed if the end of file/input has been reached, fail otherwise.
Succeeds if we are at the end of input, fails otherwise.
>>> Stream.parse ((,) <$> Parser.satisfy (> 0) <*> Parser.eof) $ Stream.fromList [1]
Right (1,())
True if we are at the end of the file.
Succeed if the input is empty.
Succeed if the input is empty.
Succeeds if and only if we are at the end of input.
Succeeds iff we are at the end of input
A parser that fails on any non-empty input and succeeds at its end.
This parser only succeeds at the end of the input. This is not a primitive parser but it is defined using notFollowedBy.
eof  = notFollowedBy anyToken <?> "end of input"
Succeeds if no more input.
am at the end of string.