Closed sinogermany closed 3 years ago
I was reading through the code and realised this:
Parser is already an Alternative, so choice is effectively asum
Parser
Alternative
choice
They have exactly the same implementation, so we can use it directly instead of re-implementing it.
I was reading through the code and realised this:
Parser
is already anAlternative
, sochoice
is effectively asumThey have exactly the same implementation, so we can use it directly instead of re-implementing it.