Also, keys() and members() should support item* as a parameter, iterate on their input, producing empty sequences for incompatible items (atomics, arrays for keys(), atomics, objects for members()) and raising errors if there is a function. keys() should also perform a distinct-values() call on the keys produced in the case of several objects.
Also, keys() and members() should support item* as a parameter, iterate on their input, producing empty sequences for incompatible items (atomics, arrays for keys(), atomics, objects for members()) and raising errors if there is a function. keys() should also perform a distinct-values() call on the keys produced in the case of several objects.