[Bug 21963] Implicit iteration on dynamic function calls


--- Comment #6 from Ghislain Fourny <g@28.io> ---

I agree with Jonathan's assessment. I think that resilience in case of
heterogeneity in the input sequence is important (i.e., return an empty
sequence rather than raise an error), and follows the XPath paradigm as well. I
also think that consistency between function calls and the ? syntax would be

This is of course the view from a database/document-store perspective. I am
afraid that this is another example where the use case scenario affects the
design decision: if we reason data-oriented (NoSQL), then iterating makes sense
(even with functions in the data). If we reason pure map-oriented (i.e.,
equivalent of objects as Mike mentions), then raising an error makes sense.

I hope it helps.

Kind regards,

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 28 May 2014 09:36:53 UTC