Skip to content

Subtyping relationship between stringref and stringviews #3

Description

@wingo

The current document treats strings and the three stringview kinds as unrelated types. It would be more tidy if they had a subtyping relationship, somehow. Some possibilities:

  1. Stringviews are subtypes of stringref.
  2. Stringviews share a supertype.
  3. One string type per view type.
  4. Current status: unrelated types.

Related previous discussion: wingo/stringrefs#31 (comment) and following comments, and wingo/stringrefs#40.

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