Add MonadZero instances by MonoidMusician · Pull Request #37 · purescript/purescript-maybe · GitHub
Skip to content

Add MonadZero instances#37

Merged
garyb merged 1 commit into
purescript:masterfrom
MonoidMusician:monadzero
Apr 7, 2018
Merged

Add MonadZero instances#37
garyb merged 1 commit into
purescript:masterfrom
MonoidMusician:monadzero

Conversation

@MonoidMusician

Copy link
Copy Markdown
Contributor

Such that Alt corresponds with Semigroup and Plus with Monoid.

That is, First agrees with the behavior of Maybe, and Last ends up as the opposite.

Such that Alt corresponds with Semigroup and Plus with Monoid
@garyb

garyb commented Apr 7, 2018

Copy link
Copy Markdown
Member

@garyb garyb merged commit b7c9ca9 into purescript:master Apr 7, 2018
@MonoidMusician

Copy link
Copy Markdown
Contributor Author

@MonoidMusician MonoidMusician deleted the monadzero branch April 8, 2018 14:38
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