Open
Description
Type of issue
Missing information
Description
The section on Optional Arguments speaks only about the form used for interop with C#. However, the F# language supports an entirely different mechanism, which is not covered by this article. For details, c.f. F# Language Specification, § 8.13.6. This is a very common technique, and it's exclusion from the documentation is very curious. Also, in the interest of clarity, perhaps it's better to distinguish the two forms with something along the lines of:
- Optional arguments with early defaults (i.e. for C# compatability)
- Optional arguments with late defaults (i.e. missing from the current docs)
Page URL
https://learn.microsoft.com/en-us/dotnet/fsharp/language-reference/members/methods
Content source URL
https://github.com/dotnet/docs/blob/main/docs/fsharp/language-reference/members/methods.md
Document Version Independent Id
ec7268c9-a299-8a21-65c9-3da7dae8a45d
Platform Id
3870144c-c491-c7a3-ea52-63a9499a19a6
Article author
Metadata
- ID: 680c7c1b-10c0-0537-a52e-48214b55ca4c
- PlatformId: 3870144c-c491-c7a3-ea52-63a9499a19a6
- Service: dotnet-fsharp