What is the preferred way to raise errors ( ParseError ) in Parsec? I got code inside the parser that performs the check, and if the check fails, then the ParseError should be returned (i.e. Left ParseError when starting parse ).
parsing haskell parsec
finnsson
source share