I would love to have access to the actual Parser.DeadEnds to show them more nicely with https://github.com/miniBill/elm-parser-error-extra.
One possibility is exposing the parser, but that also means exposing the AST, and documenting it.
A smaller change would be to have a different parse method that doesn't toString the DeadEnds.
I'm up for writing either PR, but would like to know what your preference is.
I would love to have access to the actual
Parser.DeadEnds to show them more nicely with https://github.com/miniBill/elm-parser-error-extra.One possibility is exposing the parser, but that also means exposing the AST, and documenting it.
A smaller change would be to have a different parse method that doesn't
toStringtheDeadEnds.I'm up for writing either PR, but would like to know what your preference is.