Maybe monad parsing to Either monad parsing