Skip to content

Ordered set insert requires duplicate checks #641

@TomokiMiyauci

Description

@TomokiMiyauci

What is the issue with the Infra Standard?

In the current specification, "add" is not defined.

infra/infra.bs

Lines 1492 to 1493 in 0805cea

<p>To <dfn export for=list,set>insert</dfn> an <a for=list>item</a> into a <a>list</a> before an
index is to add the given item to the list between the given index &minus; 1 and the given index. If

Therefore, insert in ordered set is missing the “do nothing in case of duplicate item” statement.

There should be a definition for ordered set like append or prepend.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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