The scala language specification, section 7.2 is about implicit scope:
It explains that implicit scope are the modules associated in some way with the parts of type T
. What the parts of T are is listed below. One of those points is
if
T
denotes an implicit conversion to a type with a method with argument typesT1,…,Tn
and result typeU
, the union of the parts of T1,…,Tn and U;
I can't make head or tails from this. I don't understand how a type T can denote an implicit conversion.
What is meant by this part of the specification of implicit scope?
A => Foo
isFunction1[A, Foo]
so its parts includeFoo
by the rule for parametrized types. (I added my own answer.) – Lapidify