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

Add a Option.getOrDefault and other new functions to the Option module #361

Closed
baronfel opened this issue Oct 20, 2016 · 3 comments
Closed

Comments

@baronfel
Copy link
Contributor

baronfel commented Oct 20, 2016

Submitted by Gustavo Guerra on 11/6/2014 12:00:00 AM
15 votes on UserVoice prior to migration

Like List.nth, defaultArg has the parameters in the "wrong order" to be able to be used in partial application. List.item is solving that problem, we should also do the same for defaultArg

Original UserVoice Submission
Archived Uservoice Comments

@dsyme
Copy link
Collaborator

dsyme commented Oct 29, 2016

Approved-in-principle to make some sensible additions to the Option module
Details about naming and exact additions will need to be finalized.
We will create an RFC for this at https://github.com/fsharp/FSharpLangDesign/tree/master/RFCs

Don Syme, F# Language Evolution

@neoeinstein
Copy link

This has been started as RFC FS-1007.

@dsyme
Copy link
Collaborator

dsyme commented Mar 1, 2017

Closing as covered by the RFC

@dsyme dsyme closed this as completed Mar 1, 2017
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

No branches or pull requests

4 participants