AndrasKovacs/flatparse

Alternative and MonadPlus instances?

cdsmith opened this issue · 1 comments

I don't see anything about why FlatParse is missing Alternative, MonadFail, and MonadPlus instances. Could these be added?

They're not added right now because <|> associates in the wrong direction (left, should be right in this library). We could add them, and reassociate with an early phase REWRITE rule.