Replace long if/elif chains with a dict.
ops = {
raise ValueError
def compute(a, op, b): # TODO: build a dispatch dict of operators pass