Using `effect.fn` with Generics - Effect Community