Fix fold for lambdas and lets.