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 OptionSemiGroup and OptionMonoid #82

Closed
kevin-lee opened this issue Sep 27, 2019 · 0 comments · Fixed by #85
Closed

Add OptionSemiGroup and OptionMonoid #82

kevin-lee opened this issue Sep 27, 2019 · 0 comments · Fixed by #85
Assignees
Labels
Milestone

Comments

@kevin-lee
Copy link
Owner

kevin-lee commented Sep 27, 2019

Task

Summary

Add OptionSemiGroup and OptionMonoid.

Project Details

Version: 1.2.0

Description

Add OptionSemiGroup to make Option[A] SemiGroup[A] and OptionMonoid to make Option[A] Monoid[A] if SemiGroup[A] exists.

e.g.)

1.some |+| 999.some // Option[Int] = Some(1000)
1.some.mappend(999.some) // Option[Int] = Some(1000)
@kevin-lee kevin-lee added the task label Sep 27, 2019
@kevin-lee kevin-lee added this to the milestone9 milestone Sep 27, 2019
@kevin-lee kevin-lee self-assigned this Sep 27, 2019
@kevin-lee kevin-lee changed the title Add OptionMonoid Add OptionSemiGroup and OptionMonoid Sep 28, 2019
kevin-lee added a commit that referenced this issue Sep 28, 2019
…d-option-monoid

Close #82 - Add OptionSemiGroup and OptionMonoid
This was referenced Oct 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant