Пример #1
0
def test_adhoc():
    a = mopen('blaze.mod')

    ty = ('Array', [('t', 'int')])
    over = a.resolve_adhoc('add', ty)
Пример #2
0
def test_signatures():
    a = mopen('blaze/module/blaze.mod')
    print "Module".center(80, '=')
    print a.show()
Пример #3
0
def test_signatures():
    a = mopen('blaze/module/blaze.mod')
    print "Module".center(80, '=')
    print a.show()
Пример #4
0
def test_blaze_core():
    path = os.path.dirname(blaze.__file__)
    blazecore = os.path.join(path, "module", "blaze.mod")

    mopen(blazecore)
Пример #5
0
def test_adhoc():
    a = mopen('blaze.mod')

    ty = ('Array', [('t', 'int')])
    over = a.resolve_adhoc('add', ty)