def test_adhoc(): a = mopen('blaze.mod') ty = ('Array', [('t', 'int')]) over = a.resolve_adhoc('add', ty)
def test_signatures(): a = mopen('blaze/module/blaze.mod') print "Module".center(80, '=') print a.show()
def test_blaze_core(): path = os.path.dirname(blaze.__file__) blazecore = os.path.join(path, "module", "blaze.mod") mopen(blazecore)