Hi All,

(foo(), bar())[1]

can be used instead of

if (exists(foo())) then foo() else bar().

But does MarkLogic evaluate bar() if I use the (foo(), bar())[1] 
construct and foo() exists? I'm interested to know because bar() could 
take a long time to evaluate.

Best,

Tim Finney
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to