GenOps provides toPrettify method into Gen instance.
toPrettify
Gen
Converts a generator into a prettify function.