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

maybe: add S.maybeToNullable #190

Merged
merged 1 commit into from
Apr 23, 2016
Merged

maybe: add S.maybeToNullable #190

merged 1 commit into from
Apr 23, 2016

Conversation

davidchambers
Copy link
Member

Closes #189

@Avaq
Copy link
Member

Avaq commented Apr 23, 2016

Ooh you did that quick! :)
Maybe add a mention about the Nullable pseudotype somewhere?

//# maybeToNullable :: Maybe a -> Nullable a
//.
//. Returns the given Maybe's value if the Maybe is a Just; `null` otherwise.
//. [Nullable][] is defined in sanctuary-def.
Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe add a mention about the Nullable pseudotype somewhere?

Is the sentence above sufficient, do you think?

Copy link
Member

Choose a reason for hiding this comment

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

Yep! 👍

@davidchambers davidchambers merged commit 91cf8d6 into master Apr 23, 2016
@davidchambers davidchambers deleted the dc-maybe-to-nullable branch April 23, 2016 17:15
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