I need to perform a series of actions on a variable, where the output of the previous action would be the input of the next one.
Also, there is a possibility that at each step the whole process aborts in case the input is not well formed.
I know this could be done with the callback functions, but I have so many steps it's turning into a mess.
Does anybody know of a good solution I could use to avoid this? Just a module, which helps perform actions sequentially? Or another technique?
Thank you!