Passing in constructors as lambda


#1

Do we have a way of passing in class constructors as lambdas? Similar to the way we can pass fun using :: ?


#2
class Foo
val constructorLambda: () -> Foo = ::Foo

#3

Thanks! I was sure I tried that but I’ll try again. Thanks!