succeed {Ramble} | R Documentation |
succeed
is based on the empty string symbol in the BNF notation The
succeed
parser always succeeds, without actually consuming any input
string. Since the outcome of succeed does not depend on its input, its result
value must be pre-detemined, so it is included as an extra parameter.
Description
succeed
is based on the empty string symbol in the BNF notation The
succeed
parser always succeeds, without actually consuming any input
string. Since the outcome of succeed does not depend on its input, its result
value must be pre-detemined, so it is included as an extra parameter.
Usage
succeed(string)
Arguments
string |
the result value of succeed parser |
Examples
succeed("1") ("abc")
[Package Ramble version 0.1.1 Index]