metamon/transform/list
Standard Transform(List(a)) constructors used in metamorphic
relations. Each transform is named and deterministic.
Values
pub fn dedupe() -> transform.Transform(List(a))
Drop duplicates, keeping the first occurrence of each element.
pub fn shuffle(seed_value: Int) -> transform.Transform(List(a))
A deterministic shuffle parametrised by a seed integer. The same integer always produces the same permutation. Implemented as a stable sort by random keys (Knuth’s “decorate, sort, undecorate” pattern).