Skip to content

Missing insert(at) and remove(at) methods #1

Description

@alper

Hey,

I thought I could use this to do day 20 of Advent of Code but the absence of these methods makes it a bit annoying.

  • Be able to remove and retrieve any item just like remove(), but probably on Cursor
  • Be able to insert an item at any point in the list, which I can now do probably by splicing lists in weird ways

Isn't the idea of a linked list that these kind of mutations should be relatively cheap?

Looks great otherwise!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions