Use this tag for questions addressing eta expansion in Scala. Also add the Scala-tag to your question
Eta Expansion is part of the language scala. There is a well-answered question on SO explaining eta expansion. It refers also to the docs which explain:
The expression
e _is well-formed ifeis of method type or ifeis a call-by-name parameter. Ifeis a method with parameters,e _representseconverted to a function type by eta expansion. Ifeis a parameterless method or call-by-name parameter of type =>T,e _represents the function of type () => T, which evaluatese