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

Length is a monoid homomorphism #1863

Merged
merged 5 commits into from
Oct 26, 2022

Conversation

Taneb
Copy link
Member

@Taneb Taneb commented Oct 24, 2022

Also adds raw bundles in Data.List.Base. Closes #1857

@jamesmckinna
Copy link
Contributor

jamesmckinna commented Oct 24, 2022

Should that new definition in Data.List.Base CHANGELOG not be ++-[]-rawMonoid?

@Taneb
Copy link
Member Author

Taneb commented Oct 24, 2022

You're exactly right. Serves me right for copy-pasting to save typing 😅

@jamesmckinna
Copy link
Contributor

Similarly for length-isMonoidHomomorphism : IsMonoidHomomorphism (++-[]-rawMonoid A) +-0-rawMonoid length?

@Taneb
Copy link
Member Author

Taneb commented Oct 24, 2022

Thanks! That's fixed now

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 this pull request may close these issues.

List.length is a monoid homomorphism
3 participants