Back to Fpinscala

18.Hint

answerkey/parsing/18.hint.md

latest165 B
Original Source

You can add an attribute otherFailures: List[ParseError] on ParseError itself. This will be a list of parse errors that occurred in other branches of the parser.