let to lambda transform