Skip to content

Utilize Gen.Parameters to support pure functions and deprecate .getOrThrow and .toIterator

Compare
Choose a tag to compare
@jeffmay jeffmay released this 30 Jul 20:53
08536c0
  • Add GenConfig for implicitly passing to pure generator extension methods
  • Add gen.iterator which is a pure function that generates an iterator based on an implicit GenConfig
  • Deprecate gen.getOrThrow in favor of gen.randomOrThrow() to change this method to a pure function in the future
  • Deprecate gen.toIterator in favor of gen.iterator to avoid binary compatibility issues with the new implicit parameter
  • Convert gen.toIterator to use gen.iterator with the GenConfig.defaults
  • Deprecate implicit arbitrary => implicit gen converter
  • Add more unit tests