def allresults(tree, leaf=yieldify):
 return treeapply(tree, {list: branch.multiplex, tuple: branch.chain}, leaf=leaf)

def allresults ( tree , leaf = yieldify ) : return treeapply ( tree , { list : branch . multiplex , tuple : branch . chain } , leaf = leaf )
execute a strategic tree .