Separated def from lambda in programming language