Opt x p tries to apply parser p. If p fails without consuming input, it returns the value x, otherwise the value returned by p.
Opt x p tries to apply parser p. If p fails without consuming input, it returns the value x, otherwise the value returned by p.
- Authors
Mars Liu
- Version
1.0.0
- Companion
- object