-
Notifications
You must be signed in to change notification settings - Fork 21
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
Allow use on let bindings in classes #312
Comments
@baronfel Can we get a written response on the declined reasoning? The "UserVoice" links have expired. |
The archived comments are somewhere here on github, though I keep forgetting how to get there, I run into the same issue often. I think at some point the f# githubs were moved or renamed, but the archived comments were not, so these links were not automatically updated. |
All archived comments can be found here: https://github.com/fsharp/fslang-suggestions/tree/d48c35ce216e2bff148937ec028ad61e5c273fdf/archive |
The relevant bit, I think:
|
Allow use on let bindings in classes [6337095]
Submitted by Mårten Rånge on 8/23/2014 12:00:00 AM
4 votes on UserVoice prior to migration
A common task in .NET is to implement is IDisposable.
I find the most common task is implementing IDisposable on a class that have fields that are subclasses of IDisposable and no unmanaged resources.
Implementing IDisposable is tedious and error prone. F# supports use on local bindings. Why not support it for member bindings as well?
Response
** by fslang-admin on 2/10/2016 12:00:00 AM **
Thanks for the suggestion. it’s definitely an interesting one and it took me a long time to decline it. I’ve listed the reasons below. It is possible we might reconsider this at some point, but for now marking it declined as I don’t think we can proceed with it in the language as things stand
Don Syme
F# Language Evolution
Original UserVoice Submission
Archived Uservoice Comments
The text was updated successfully, but these errors were encountered: