bracket method

Parser bracket(
  1. String brackets,
  2. Parser parser
)

Implementation

Parser bracket(String brackets, Parser parser) =>
    char(brackets[0]) & parser & char(brackets[1]);