Re: [xquery-talk] Arrow Operator to a Partially Applied Function

2019-03-11 Thread Zachary N. Dean
Hello Adam, I think the issue is that the Arrow Operator '=>' is simply "syntactic sugar" for using the LHS as the FIRST argument of the function call on the RHS. The Argument Placeholder '?' has no direct relation to the Arrow Operator. So, in the case of the first example: function($k, $v) {

Re: [xquery-talk] Arrow Operator to a Partially Applied Function

2019-03-11 Thread Zachary N. Dean
"b" : "2", "c" : "3" }, ? ) )() Makes me also wonder though if partial functions should be resolved first. Interesting! From: talk-boun...@x-query.com On Behalf Of Adam Retter Sent: Montag, 11. März 2019 07:45 To: Zachary N. Dean Cc: t