Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New function fn:substitute() #553

Closed
michaelhkay opened this issue Jun 15, 2023 · 2 comments
Closed

New function fn:substitute() #553

michaelhkay opened this issue Jun 15, 2023 · 2 comments
Labels
Feature A change that introduces a new feature Propose Closing with No Action The WG should consider closing this issue with no action XQFO An issue related to Functions and Operators

Comments

@michaelhkay
Copy link
Contributor

The discussion on the parse-csv() use cases suggests there would be value in a function

fn:substitute($value as item()*, $pos as xs:positiveInteger, $mangler as function(item()) as item()) as item()*

whose effect is to return the input sequence $value with the item at position $pos replaced by the result of invoking $mangler on that item.

This should be aligned with similar functions for maps and arrays.

@ChristianGruen
Copy link
Contributor

I think we can close this issue; it’s also listed in #583.

@ChristianGruen ChristianGruen added the Propose Closing with No Action The WG should consider closing this issue with no action label Apr 24, 2024
@ndw
Copy link
Contributor

ndw commented Apr 30, 2024

At meeting 075, the CG agreed to close this issue without further action.

@ndw ndw closed this as completed Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature A change that introduces a new feature Propose Closing with No Action The WG should consider closing this issue with no action XQFO An issue related to Functions and Operators
Projects
None yet
Development

No branches or pull requests

3 participants