Hi,

Looks like Marklogic has the signatures reversed from the w3c for fold-left and 
fold-right
ML:

fn:fold-right(
   $function as function(item(), item()*) as item()*,
   $zero as item()*,
   $seq as item()*
) as item()*

W3C:

fn:fold-right(  
  $seq   as item()*,
  $zero  as item()*,
  $f as function(item()*, item()) as item()*
) as item()*


I'm wondering if this by design - can anyone comment?

Best,
Colin
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to