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