[Swift-devel] Call function Map-Reduce

Mihael Hategan hategan at mcs.anl.gov
Wed Aug 10 02:55:12 CDT 2011


On Tue, 2011-08-09 at 14:28 -0700, Mihael Hategan wrote:
> We'll do it like this:
> <executeElement name="old_func">
> ...
> </executeElement>

This should now work in trunk:
import("sys.k")

element(bla, [...]
	echo(each(...))
)

executeElement("bla", "test", 1, 2, 3)

in xml it's <executeElement element="bla">...

It will only work for user defined functions, so executeElement("echo",
"test") won't work. But then we won't need that.




More information about the Swift-devel mailing list