clausura lambda implementation