vincenthz/hs-memory

SizedByteArray: Semigroup and Monoid instances?

Closed this issue · 1 comments

k0001 commented

I noticed that there are Semigroup and Monoid instances for SizedByteArray, which defeat the purpose of SizedByteArray, since they can be used to produce values of the wrong size.

Thanks for the issue