Function buildTypeclassLawsFor

Build typeclass laws for the given instances of some datatype.