translate let and let* to equivalent lambda expressions