> > I agree with Christian. I think a key difference with path expressions is that > the RHS operand is not called once per item in the result of evaluating the > LHS operand (which indeed, is zero times for the empty sequence). > > With the arrow operator, the RHS is called exactly once, whatever the result > of evaluating the LHS. > Yes, I think that makes sense, albeit a trifle unintuitive. So the LHS cannot work as a filter (but we have "/" and "!" for that, which *does* work that way, i.e., if LHS is empty, RHS needs no eval)Received on Thursday, 17 December 2015 18:14:52 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:43:15 UTC