Skip to content

Drop "parameter names" as a property of a function item #1896

@michaelhkay

Description

@michaelhkay

One of the properties of function items is the parameter names.

This property is unused; there is nothing that depends on the value of this property, and no way of discovering the value, and it isn't defined for all function items, e.g. maps and arrays, or functions returned by functions such as fn:op. It causes complications, such as whether two functions can have the same identity if they have different parameter names. I propose to drop it.

Of course, there are open issues that suggest allowing parameter names to be used in dynamic function calls. But I see little chance of coming up with a design that achieves this, because in general when you're given a function item to call, you have no idea what the parameter names are, and the person supplying the function item has very little control over what the parameter names will be.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EditorialMinor typos, wording clarifications, example fixes, etc.PR PendingA PR has been raised to resolve this issueXPathAn issue related to XPath

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions