Closed
Description
This works as expected:
Prelude Text.Trifecta> parseTest (string "foo" >> string "bar") "foo bar"
(interactive):1:4: error: expected: "bar"
foo bar<EOF>
^
But if I add try
:
Prelude Text.Trifecta> parseTest (try $ string "foo" >> string "bar") "foo bar"
(interactive):1:1: error: unspecified error
foo bar<EOF>
^
Metadata
Metadata
Assignees
Labels
No labels