&gt; E.g. in Python you have to write &quot;(lambda x: x + 1)&quot; where in Scala you can write &quot;(_ + 1)&quot;;<p>Can you give the lambda variable a name in Scala? In Python you can write &quot;lambda city_name: add_state_suffix(city_name)&quot;