Hi Meikel, On Jun 11, 1:46 pm, Meikel Brandmeyer <[email protected]> wrote: > Hi, > > On Jun 11, 1:41 pm, Stefan Kamphausen <[email protected]> wrote: > > > sorry, the comments at the end of my post were not supposed to show > > up. The problem is, that the action is called with just one argument. > > I thought, that it is clear from the error: because you send no > additional argument. So the action gets just passed the state of the > agent.
Ah, finally I get it. I made the wrong assumption that the update function would be called with two arguments: the old state and the new one. But this is -- of course -- the rule for the validator function. Now, what bit me was, that I don't see any exception without an error handler and so I always thought my problem must be related to that. As I said: it was late. Programmer's rule #19: the longer you search for an error, the more stupid you have been. :-) Thanks for getting me back on the track. Regards, Stefan -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
