|
From: David L. <dav...@uc...> - 2011-07-05 10:04:05
|
1) Good idea
2) The second syntax is clearer in its intent. For an action that
produces only one binding, can we have it work without the list too?
i.e.
?x = .println("rem") // single value
[?x,?y] = .coords("rem") // list
On 5 July 2011 10:23, Rem Collier <rem...@uc...> wrote:
> Hi all,
>
> Following up on the recent introduction of "active" actions (i.e.
> actions that can modify the bindings of the associated plan stack), I am
> going to suggest two changes / improvements:
>
> 1) the execute(...) method calls the active action execute method with
> an empty variable list and binding set (this means that, potentially -
> and only if coded correctly - an active action can be
> used as a "normal" action).
>
> 2) which syntax do you think is better:
>
> activate(.println("rem"), [?x])) <--- current
>
> [?x] = .println("rem") <--- alternative
>
> Rem
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Agentfactory-developer mailing list
> Age...@li...
> https://lists.sourceforge.net/lists/listinfo/agentfactory-developer
>
--
David Lillis
School of Computer Science and Informatics
University College Dublin
Belfield, Dublin 4, Ireland
t: +353 1 716 2908
e: dav...@uc...
|