Skip to content

Conversation

@cranst0n
Copy link
Contributor

No description provided.

Copy link
Owner

@spebbe spebbe left a comment

Choose a reason for hiding this comment

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

At least for Option, there is already toNullable() which does the exact same thing except for not being a getter. I intentionally "hid" toNullable it a bit :) , since I'm worried that its existence and use might obscure the purpose of Option (and Either). I'm open to going either way with this though.

Like with the other two PRs, I'm sorry for not replying sooner.

@cranst0n
Copy link
Contributor Author

cranst0n commented Feb 7, 2022

Okay no worries. I don't have a strong opinion on this one. I noticed an open issue and went for it.

I personally don't see a huge downside to their existence since the type captures the intent but I also appreciate the other side of the coin.

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