Skip to content

[Feature] string.ord or string.lt + string.gt #37

Open
@MaxGraey

Description

@MaxGraey

I don't think string.eq alone will be enough. For string sorting we also need string.lt (a < b) and string.gt (a > b) operations.

Or ideally replacing string.eq (or at least addition) with the more generalized string.ord which perform lexicographical comparison and return -1 if (a < b), +1 if (a > b) and 0 if (a == b).

WDYT?

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