-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Monoidal
improvements
#740
Comments
@julienrf I've just read through #555 changes and I have the following question, what's the reason to not implement the new
|
Hi Olivier, I just followed this comment (though I didn’t run any sort of benchmark). |
@julienrf I'm really sorry for the stupid question, I didn't read through the discussion and only looked at the commit... I didn't run any benchmarks but was simply surprised by the addition of new abstract methods introduced on Did you consider the option of splitting |
Yes, adding |
…oduct and ap consistency, fixes typelevel#740
…oduct and ap consistency, fixes typelevel#740
Add Semigroupal for Monoidal hierarchy, fixes #740
The major pieces of adding
Monoidal
are in place, per https://github.com/non/cats/pull/555[ ] As it stands,
Monoidal
is defined with justproduct
(nopure
) and as such only has the associativity law. We should perhaps have something similar toApply
/Applicative
where we have aSemigroupal
(?) withproduct
andMonoidal extends Semigroupal
withpure
. If we go that route.. we'll have two differentpure
s that should really be the same thing - one forMonoidal
the other forApplicative
.[ ] Documentation
The text was updated successfully, but these errors were encountered: