The official ScalaReference says Method types do not exist as types of values.
[cont.]
#scala #scalajp
— Rhizome (@rhizome1976) August 19, 2013
If a method name is used as a value, its type is implicitly converted to a corresponding function type (§6.26).
#scala #scalajp
— Rhizome (@rhizome1976) August 19, 2013
No comments:
Post a Comment