Skip to content

Update FS-1092-anonymous-type-tagged-unions.md#591

Merged
dsyme merged 1 commit intofsharp:mainfrom
charlesroddie:patch-5
Jun 8, 2021
Merged

Update FS-1092-anonymous-type-tagged-unions.md#591
dsyme merged 1 commit intofsharp:mainfrom
charlesroddie:patch-5

Conversation

@charlesroddie
Copy link
Copy Markdown
Contributor

Mention the need to avoid exposing usage of this feature to non-F# .Net languages.

@dsyme dsyme merged commit ee84023 into fsharp:main Jun 8, 2021

5. There is some identified, concrete, simply explained benefit over using labelled discriminated unions, e.g. "we have a simpler API with fewer overloads".

6. There is no possibility that the type will end up being consumed by .Net languages other than F#.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit strong - it might be reasonable to expose - but I know what you mean :)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Similar thoughts, but it's a good thing to clarify for now. Maybe as the feature takes shape a bit more we'll have a more nuanced position

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants