Skip to content

Questions about Zed_char #15

@Drup

Description

@Drup

The documentation about the new Zed_char module is not really sufficient:

  • What does it represents ? A single visual character?
  • How do I turn a single codepoint into a zchar ? Why is the function that does this unsafe ?
  • When does of_utf8 fails ?
  • What's the different with Zed_utf8.t ?
  • Why is the API not very similar to Uchar ?
  • ...

Given how central the notion of character is, I think a much more precise documentation is necessary.

These questions are not hypotheticals btw. I can't even review this patch because the new version of zed makes the code awful for reasons that are completely unclear to me.

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