With1
Enables syntax to access product01, product and flatMap01
This helps us build Parser instances when starting from
a Parser0
This helps us build Parser instances when starting from
a Parser0
class AnyVal
trait Matchable
class Any
Value members
Methods
This is the usual monadic composition, but you
should much prefer to use ~ or Apply.product, >, <, etc
if you can since it is much more efficient. This
has to call fn on each parse, which could be a lot
of extra work is you already know the result as is
the case for ~
should much prefer to use ~ or Apply.product, >, <, etc
if you can since it is much more efficient. This
has to call fn on each parse, which could be a lot
of extra work is you already know the result as is
the case for ~
If we can parse this then that, do so,
if we fail that without consuming, rewind
before this without consuming.
If either consume 1 or more, do not rewind
if we fail that without consuming, rewind
before this without consuming.
If either consume 1 or more, do not rewind