Sure, but in that case they are equivalent to a static function so there's no benefit of lambda other than syntax sugar.
The benefit is that you don't have to solve one of the hard problems in computer science (naming things).
The benefit is that you don't have to solve one of the hard problems in computer science (naming things).