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

Observable should be a Monoid for any a #11

Closed
LukaJCB opened this issue Mar 10, 2017 · 2 comments
Closed

Observable should be a Monoid for any a #11

LukaJCB opened this issue Mar 10, 2017 · 2 comments

Comments

@LukaJCB
Copy link
Collaborator

LukaJCB commented Mar 10, 2017

We already have an instance for Semigroup as well as for Alt and Plus. Defining an instance would be as simple as adding a mempty = _empty.

@jasonzoladz
Copy link
Owner

Yep, works for Observable (but obviously we can't add it for BehaviorSubject).

@jasonzoladz
Copy link
Owner

Done.

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

No branches or pull requests

2 participants