On 16 February 2016 at 03:44, David Lee wrote:

Hi,

> New XQuery 3.0 syntax can make it shine ,
>   ( "key","value") => map;put( $args),

Technically, it is XQuery 3.1 (currently in CR).  This is not only a
detail, because last time I checked, the following expression fails:

    xquery version "3.0";
    (4, 2) => (function($d) { $d[1]||$d[2] })()

but the following succeeds:

    xquery version "3.1";
    (4, 2) => (function($d) { $d[1]||$d[2] })()

Regards,

-- 
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to