Why can't the context contain a sequence?
2017-08-02 16:31 GMT+02:00 Ghislain Fourny <[email protected]>: > Dear Wouter, > > I see your point and it makes sense. The tricky part here, following up on > your suggestion to make the choice of the first position less arbitrary, is > that the context item must be an item: it cannot be a sequence of several > items. This eliminates any design based on communicating the value on the > left through the context item mechanism. The closest to the intent of => > would be using a let variable binding. > > The convention of binding the first argument, of course, implies that the > (or some) functions are designed having in mind that the first parameter is > “special”, that is, if the function is intended to be used with =>. In Java > or C++, the self/this implied parameter is special, too (but it is not > considered to be at any position). > > Kind regards, > Ghislain > >
_______________________________________________ [email protected] http://x-query.com/mailman/listinfo/talk
