lambda related question



lambda([i],i)(2)
produces 2
but 
expr:i
lambda([i],expr)(2)
produces i
Is there an idiom which allows to put an already defined expression into lambda?