Skip to content

Precise definitions for the casing and alphabetical functions #13

Open

Description

@kinlane

Two core functions behave in ways that depend on unstated details: the character classes of each case, and locale-dependent ordering.

Open questions in the draft:

  • casing (draft line 1332): The exact character classes of each case have to be stated before this requirement is complete.
  • alphabetical (draft line 1380): localeCompare without a locale uses the locale of the environment, so the order of strings such as ä and z can differ between machines. A fixed collation, such as code point order, would make the function portable at the cost of changing the order of mixed-case names.

Part of the work to resolve the draft's open questions (discussion #13). AI use: Claude grouped the draft's inline issues and drafted this issue at Kin's request; the questions are quoted from the spec.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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