Example #1
0
def test_match1():
    expr = parse('Add(1,2)')
    fn, cost = lookup(expr)
Example #2
0
def test_match1():
    expr = parse('Add(1,2)')
    fn, cost = lookup(expr)
Example #3
0
def test_match2():
    expr = parse('Mul(1,2)')
    fn, cost = lookup(expr)
Example #4
0
def test_match2():
    expr = parse('Mul(1,2)')
    fn, cost = lookup(expr)