Пример #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)