You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.
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,
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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:
[!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,
The text was updated successfully, but these errors were encountered: