You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.
Starting from kotlin 1.4, there's no longer need for a factory function create. Generator and Simplifier can be declared as fun interface, allowing the user to call Generator { it.nextInt() } instead of Generator.create { it.nextInt() }.
The create functions should be deprecated in favor of the fun interface usage.
The text was updated successfully, but these errors were encountered:
Starting from kotlin 1.4, there's no longer need for a factory function
create
.Generator
andSimplifier
can be declared asfun interface
, allowing the user to callGenerator { it.nextInt() }
instead ofGenerator.create { it.nextInt() }
.The
create
functions should be deprecated in favor of thefun interface
usage.The text was updated successfully, but these errors were encountered: