You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latter (the current version of the law) is the usual definition of idempotence for a binary operation, as opposed to the usual unary operation definition given in the title of this issue.
The former law, as you state it, is a logical consequence of the latter law (and, potentially, the monoid associativity law depending on how mappend associates).
The law doesn't quite seem right to me, surely it should be:
a
mappend
bmappend
b == amappend
bPotentially as well as:
a
mappend
a == aThe text was updated successfully, but these errors were encountered: