def _decorator(f): return parser_wrap.wrap(combinators.mapf(parser._parser))(f)
def test_parses(self): self.assertParse(combinators.mapf(primitives.unit(lambda: 1)) (lambda x: x), 1, "test", "test")