How to modify or remove node during walk?

Hi guys, I am new to acorn-walk, and I am building a plugin that would uncurry functions. Is there any built-in methods for removing or modifying a node during a walk? Or do I need to modify the object directly?

acorn-walk just helps with running over the tree, it has no tree-transforming functionality built in.

I see. If I need to transform a tree, is there any library I can use? Or I need to write my own functions to mutate the tree directly?