Skip to content

Ranged Sets and Ranges Expected Behavior #1072

Open
@ata-nas

Description

@ata-nas

Story Form

As a Block Node Developer
I want to have a determined and final decision on the behavior of the ranged sets and ranges that we use
So that I can develop based on the agreed upon expected behavior

Technical Notes

  • based on this comment thread, let's discuss and explore the few mentioned topics:
    • should ranges be inclusive vs exclusive
    • should ranges support -1 -> -1 (which is problematic and throws exceptions, and is indeed the thing that lead to this issues) and the notion of an "empty" range
    • can we consider that a ranged set is empty when it has no ranges inside of it (null) rather than it having an "empty" range
  • based on discussion/agreement, some changes might need to be made in the code base

Metadata

Metadata

Assignees

No one assigned

    Labels

    Block NodeIssues/PR related to the Block Node.

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions