Youssef Shoaib [MOD]
02/05/2024, 2:09 PMwiden
in Arrow? A lot of its implementations just return the receiver immediately because of how variance works already. Is there a reason to keep it?simon.vergauwen
02/05/2024, 5:22 PMFunctor
since Functor
is not covariant. So that makes sense, so you use widen
for what you'd normally rely on covariance.
We have covariance everywhere, so we get automatic widening from the type system. So if it's not yet deprecated I think it should be.
cc\\ @Alejandro Serrano.MenaYoussef Shoaib [MOD]
02/05/2024, 7:53 PM