
25 Jun
2007
25 Jun
'07
11:08 a.m.
On Mon, 25 Jun 2007, apfelmus wrote:
Michael T. Richter wrote:
It looked to me like there were people arguing about whether the "x" returned from one action was going to be used in the next action.
Let me try and rephrase the question. :)
[rephrase]
Yes, and that's an important constellation your problem description does not consider.
If Michael had asked for code that has to be executed _after_ the actual actions, say for cleanup, this would have been simple. If he knows that the performAction commands don't use results of former actions, then the Applicative approach described earlier in this thread would work, though without 'do' notation.