ToGen

@implicitNotFound("Could not find an instance of ToGen for ${S}") @typeclass
trait ToGen[S[_]] extends Serializable
Companion:
object
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def toGen: FunctionK[S, Gen]

Extensions

Extensions

extension [S[_], A](s: S[A])
def gen(using TG: ToGen[S]): Gen[A]