miha-x64
07/27/2017, 8:08 AMval func = fun(a: Int): Int { return 10 * a }
Now I wonder: ordinary member or top-level function can be described as `fun`; anonymous function, the implementation of functional type, may be described either as lambda-expression or as `fun`*.
Is there any way to describe a member-function as lambda-expression, for consistency?
* actually, also as class
or reference (::
), but it’s not what I’m talking about