Skip to content

Conversation

@abelbraaksma
Copy link
Member

@abelbraaksma abelbraaksma commented Jun 28, 2020

As in the title, belongs to language suggestion: fsharp/fslang-suggestions#890.

This changes the behavior of the FSharp.Core string function slightly to allow its use in situations where it was previously not allowed, like in an overloaded ToString() member.

In addition, it addresses the fact that the original optimization paths were never executed.

@abelbraaksma abelbraaksma changed the title Tentative RFC-1089 for allowing 'string' in more contexts in code RFC-1089: allow the use of the 'string' function everywhere Jul 11, 2020
@abelbraaksma
Copy link
Member Author

abelbraaksma commented Aug 23, 2020

@cartermp, considering that the PR dotnet/fsharp#9549 has now been merged, I've updated the corresponding RFC to reflect the decisions there. Perhaps this can be merged and the related lang-suggestion be accepted-in-principle?

Copy link
Member

@cartermp cartermp left a comment

Choose a reason for hiding this comment

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

tiny change

@abelbraaksma
Copy link
Member Author

abelbraaksma commented Aug 23, 2020

tiny change

@cartermp tx, done :)

@cartermp cartermp merged commit b82e5d4 into fsharp:master Aug 23, 2020
@abelbraaksma abelbraaksma deleted the RFC-1089-string-everywhere branch August 23, 2020 17:59
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.

2 participants