Closed benibela closed 2 years ago
d) I think it is pointless to have such functions when there are already the
some/every
XQuery expressions
The world is not only XQuery. For people who maintain a functional programming approach to coding these two functions are really convenient and would significantly decrease their development time and proneness to errors.
Otherwise one could think that just having the 1 and 0 bits and the and
gate is really sufficient to perform all classical (non-quantum) computations. While this is true, strictly speaking, people are constantly making progress in designing programming languages that are more and more appropriate for software development.
Duplicate of #61
a) the text says the function returns boolean, but the signature says integer*
b) the text considers a case where the second argument is omitted, but there is no one argument function signature
c)
fn:some
is a wrapper around XQuery'ssome
expression, andfn:all
is a wrapper around XQuery'severy
expression. Is this not confusing and people would expect it to be a wrapper around some kind ofall
expression? Or be calledfn:every
?d) I think it is pointless to have such functions when there are already the
some/every
XQuery expressions