Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F# docs planning #26813

Open
2 of 20 tasks
dsyme opened this issue Nov 4, 2021 · 2 comments
Open
2 of 20 tasks

F# docs planning #26813

dsyme opened this issue Nov 4, 2021 · 2 comments
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-fsharp/svc Pri2

Comments

@dsyme
Copy link
Contributor

dsyme commented Nov 4, 2021

This is a tracking issue for myself, @KathleenDollard and the F# community to track missing F# docs and other improvements we can make. Contributions are welcome

This is all about the docs at https://docs.microsoft.com/dotnet/fsharp/

Specific work items up-for-grabs

Problems identified

  • No tutorials on string processing, .NET types (strings, collections, web requests...) etc
  • The "tour" uses long chunks of code with discursive text in comments. It is too long and not compelling.
  • The language guide is half-guide, half-reference. We make it more "guide" while keeping the reference material
  • Language guide is misssing some important overview sections like "object programming"
  • Native interop using NativePtr is not covered
  • Generic .NET material like https://docs.microsoft.com/dotnet/ contains very few F# references. We can update this.

Completed work items

@PRMerger12 PRMerger12 added the Pri3 label Nov 4, 2021
@dotnet-bot dotnet-bot added the ⌚ Not Triaged Not triaged label Nov 4, 2021
@dsyme
Copy link
Contributor Author

dsyme commented Nov 4, 2021

cc @cartermp and @baronfel for thoughts

@texastoland
Copy link

A few (possibly outdated) Language Guide issues I remember from fsharp/fslang-suggestions#523 (comment):

  • Add double and single types and replace usages of float and float32 with them.
  • Add Type[] syntax and replace usages of Type array with it.
  • Add note why Type[] declares an array (because C#) whereas [value] defines a list (because OCaml).
  • Add an equivalence table inspired by my description in Collapse member val to member fsharp/fslang-suggestions#1062 to quickly look up and compare different property/method syntaxes.
  • Add member _ syntax and (possibly?) replace usages of member this with it when this is unused.
  • Add page comparing and contrasting Task vs Async (CC @Ryan-Palmer).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-idea Indicates issues that are suggestions for new topics [org][type][category] dotnet-fsharp/svc Pri2
Projects
None yet
Development

No branches or pull requests

6 participants