import { suffix } from "https://deno.land/x/pazza@v0.3.0/mod.ts";
Execute the normal parser first. If it succeeds, execute the following "suffix" parser and discard the output of the "suffix" parser if succeeds.
If any of both parsers fails, the whole parser will fail.
const parser = suffix(digit(), char(">"));
parser("5>").output === "5";
parser("5]").ok === false;
parser("a>").ok === false;