Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Change code sample for Array.sortWith #337

@codec-abc

Description

@codec-abc

Hi,

If you look at the documentation for Array.SortWith - whose matching page is here - you will find the example pretty confusing because the example sort string based on length on character order but they are badly displayed. For example, the character > is displayed as >. So, at first glance it seems that string are not sorted by length contrary to what the code sample does.

I see 2 solutions here:

  • Change the characters to use some that are displayed properly
  • Fix the output. It seems that there is some kind of magic attribute [!code-fsharpMain] in this page to probably generate the output from the code. Since I don't how this work and how HTML is escaped I can't tell much about this.

Regards,

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