Skip to content

Add IsNone, IsSome and IsChoiceXOfY variants - #354

Merged
panesofglass merged 6 commits into
fsprojects:masterfrom
sideeffffect:master
Apr 1, 2018
Merged

panesofglass merged 6 commits into
fsprojects:masterfrom
sideeffffect:master

Conversation

@sideeffffect

Copy link
Copy Markdown
Contributor

No description provided.

@panesofglass panesofglass left a comment

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.

Overall, I like the additions. Please resolve the conflicts and the requested change below, and I'll be happy to merge.

function
| Some x -> x
| None -> failwithf fmt

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.

Rather than just removing this function, please add an ObsoleteAttribute to explain that it will be removed in a future release and which function should be used instead.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

the function has been introduced quite recently, and it's broken by design from the beginning and there's no substitute -- it just doesn't work

@panesofglass
panesofglass merged commit d51ce76 into fsprojects:master Apr 1, 2018
@panesofglass

Copy link
Copy Markdown
Contributor

Thanks!

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