4 ms·The ugly hack around this would be lambda x: (lambda y: f(y) + g(y))(expensive_computation(x))by gamegoblin 11y agoThe ugly hack around this would be lambda x: (lambda y: f(y) + g(y))(expensive_computation(x))