fantasyland / fantasy-monoids

A collection of monoids
29 stars 8 forks source link

Dual Monoid Incorrect #12

Closed syaiful6 closed 8 years ago

syaiful6 commented 8 years ago

I think the Dual of monoid should swap the operation on it's concat: https://hackage.haskell.org/package/base-4.9.0.0/docs/Data-Monoid.html#t:Dual

otherwise it make no sense to wrap them on Dual. isn't that correct?