Exemplo n.º 1
0
def test_match1():
    expr = parse('Add(1,2)')
    fn, cost = lookup(expr)
Exemplo n.º 2
0
def test_match1():
    expr = parse('Add(1,2)')
    fn, cost = lookup(expr)
Exemplo n.º 3
0
def test_match2():
    expr = parse('Mul(1,2)')
    fn, cost = lookup(expr)
Exemplo n.º 4
0
def test_match2():
    expr = parse('Mul(1,2)')
    fn, cost = lookup(expr)