mutate

fun <T, TT> Generator<T>.mutate(mut: Mutator<T, TT>): Generator<TT>

Allows for a Mutator to be applied directly to a given Generator

Receiver

Generator of type T

Return

Generator of type TT

Parameters

mut

Mutator that takes the receiver and returns a Generator of type TT