Skip to content

Parsley 3.1.1

Compare
Choose a tag to compare
@j-mie6 j-mie6 released this 12 Apr 21:00
· 213 commits to master since this release
d08bf13

This release fixes a bug when amended errors are converted to hints. It also improves the semantics of .label and .explain to ensure that they are applied only when the error message has not observed the consumption of input, as opposed to whether or not input was actually consumed. This means that amend instead of attempt can control the behaviour of these combinators.

Also generalised the interface for ErrorBuilder, thereby introducing Revision2. The messages and extra lines of input are now provided as Seq instead of Set and List respectively. This is to allow an ordering for fancy error messages (explain hasn't changed).