-
Notifications
You must be signed in to change notification settings - Fork 246
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
List.length
is a monoid homomorphism
#1857
Comments
EDITED As with my comment to issue #1851, it's not obvious to me where homomorphisms (and proofs that they are such) properly belong. We might (and will?) carry on making honourable exceptions for ones such as |
In this case I was expecting to put it in |
@jamesmckinna, apart from the lack of symmetry, what is wrong with putting them in |
@Taneb I agree they they perhaps 'properly' belong in But, to answer @MatthewDaggitt 's question, it was my own thinking about So not so much a question of 'wrong' as one of 'where best?'. But happy to take the push-back. EDITED and as per @MatthewDaggitt 's comment on #1852, I'll move discussion to a fresh general issue. |
We should probably also add raw magma and monoid bundles to
Data.List.Base
as an extension to #1755.The text was updated successfully, but these errors were encountered: