well-typed / falsify

Other
36 stars 5 forks source link

Replace `runExplain` by `explainGen` #20

Closed edsko closed 1 year ago

edsko commented 1 year ago

This makes the debugging aspect (constructing the truncated tree) entirely independent from the shrinking/running infrastructure, and will not be used unless explicitly invoked (in tests of the library itself). This improves separation of concern (necessary for the next commit), and as a bonus improves shrinking performance (seems to be about 30%, but that number is fair from scientific).