docs: def _match_replace_binary(cls, ops: list) -> list:
      """Reduce list of `ops`"""
      n = len(ops)
      if n <= 1:
          return ops
      ops_left = ops[:n // 2]
      ops_right = ops[n // 2:]
      return _match_replace_binary_combine(
          cls,
          _match_replace_binary(cls, ops_left),
          _match_replace_binary(cls, ops_right))