you cannot have a lambda that’s generic for all &l...
# functional
p
you cannot have a lambda that’s generic for all <T>
b
Is this a hard and fast rule? What allows the last example compile?
fun <T> foo(baz: T) = fun (bar: T): T = bar
p
that’ll return a lambda that works for one type
b
Yes, I see now