示例#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)