News for hackers. Stuff that matters.
Re:Algebraic patterns – Semigroup by wereHamster on Sunday July 17, 2016 @08:19AM (#12109942)
The person who implements Semigroup for a data type must ensure that the laws hold.
Re:Algebraic patterns – Semigroup by haimez on Sunday July 17, 2016 @02:56PM (#12111262)
Which is where property based testing really shines. Still requires the implementer to be a good citizen and write those tests though.
Re:Algebraic patterns – Semigroup by kristianp on Sunday July 17, 2016 @09:06PM (#12112707)