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

MonoidNull: More instances #50

Merged
merged 3 commits into from
Jan 10, 2024
Merged

Conversation

endgame
Copy link
Contributor

@endgame endgame commented Jan 10, 2024

The package patch has a class very similar to MonoidNull called DecidablyEmpty. reflex-frp/patch#44 has further discussion, but even if they don't end up wanting to depend on monoid-subclasses, these instances seem lawful and useful.

These instances cover types for which the class
`Data.Monoid.DecidablyEmpty.DecidablyEmpty` in package `patch` has
instances.
Copy link
Owner

@blamario blamario left a comment

Choose a reason for hiding this comment

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

More instances and no new dependencies, I see nothing to object to.

@blamario blamario merged commit f853287 into blamario:master Jan 10, 2024
5 checks passed
@endgame endgame deleted the more-instances branch January 11, 2024 10:55
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