A few things
list.map, will map a function over a list of values. This means, do this function to each value in the list, and return a list of the results.
The reason the VAL is left open is precisely to do with how map works. When we call this function chain, saveimage(updatevalues(10)), saveimage(updatevalues(20)) etc. the numbers we map over ARE the inputs to VAL, thats why it’s left blank, dynamo figures out thats the input that is open and it calls that function chain with each number in the list.
The output of the first function is the current value again, it’s just passed through, so it’s also the input to the second function in the chain, so whatever the output is from update values, gets sent into save image(), thats what function.compose does.
I think the reason it’s not working all the time is the live runner/delta execution in .7, dynamo doesn’t realize that you want to run this graph again, you can force it do by unhooking something at the start of your graph, running, re hooking, and running again… I know a bad solution for now.
There is a force re-execute command in the debug branch if you want to try building from source. These bugs have been filed internally.