Am 22.01.2018 um 23:09 schrieb Schaff, Frederik:
> I don't have time right now to think about what was in your
code
> and what you meant, but this sounds dangerous as well;
> "manipulating outside..." is not normally what we want to
> have/allow.
but please do not remove this option :). Btw., if you pass a list to
a function directly, this works the same (my noisyfied uses a list as
Yes, it is a feature that when a function returns a list it can thereby
cause changes in the current workfile (manipulating series) that are not
explicitly specified. But it is important to understand that this is a
"lonely" exception to the rule that a function is encapsulated and will
normally only have effects that are explicitly given by the caller.
Having a list inside a bundle (and then perhaps nested in yet another
bundle...) sort of "hides" this exception even further from the caller
who may not expect such side effects from happening. This is what I
meant by "dangerous".
(And this kind of thing is also the reason why originally lists could
not be added to bundles, I believe.)
cheers,
sven