Skip to content

Bug: split_before and split_after return malformed list when cursor is at first or last node #18

Open
@morlinbrot

Description

@morlinbrot

When at the cursor is positioned at the first node, split_before returns a new empty list which has its head pointer set to the original list's head which should not be the case. The same happens with split_after when at the last node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions