GenOps provides toDiff method into Gen instance.
toDiff
Gen
Converts a generator into a diff function.