Among the designs discussed so far the most promising is to have “default values” for type parameters, i.e.:
class Foo<T : Bar = Baz>
This would likely solve your case, I think, but I can’t give you an ETA for this feature
Among the designs discussed so far the most promising is to have “default values” for type parameters, i.e.:
class Foo<T : Bar = Baz>
This would likely solve your case, I think, but I can’t give you an ETA for this feature