Description Usage Arguments Examples
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.
1 | succeed(string)
|
string |
the result value of succeed parser |
1 | succeed("1") ("abc")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.