haskell-hedgehog-classes
haskell-hedgehog-classes copied to clipboard
`stimes` should be defined on `0` for all monoids
I assume that stimes 0 xs
should be mempty
for all monoids.
However, this is something that is easy to miss + many of the implementations out there are "broken" in that regard.
Should we test for this in monoidLaws
?
I assume that
stimes 0 xs
should bemempty
for all monoids.However, this is something that is easy to miss + many of the implementations out there are "broken" in that regard.
Should we test for this in
monoidLaws
?
Yes, sounds good to me.