tweag/cooked-validators

Factor out the "combining modifications" idiom

Niols opened this issue · 0 comments

Niols commented

Both the malformDatumTweak and the doubleSatAttack share a helper function, allCombinations, written twice in the same way independently. This suggests that there is an idiom behind for combining modification (of outputs in particular). We should factor it out of those tweaks/attacks and into common utilities.