fun foldfunc f (T.FUNCTION (id, stml)) = T.FUNCTION (id, List.concat (List.map f stml))
fun expfunc f (T.MOVE (e1, e2)) = [T.MOVE (f e1, f e2)]
fun foldfunc f (T.FUNCTION (id, stml)) = T.FUNCTION (id, List.concat (List.map f stml))
fun expfunc f (T.MOVE (e1, e2)) = [T.MOVE (f e1, f e2)]