This page is no longer maintained — Please continue to the home page at

Implicit conversions based on type parameters?

No replies
Liam Clarke-Hut...
Joined: 2008-12-21,
User offline. Last seen 42 years 45 weeks ago.

I'm pretty sure the answer to this is no, but I just thought I'd
double check first - basically, if I map an implicit conversion from
ExampleA to ExampleB, and ExampleA has a method Foo[T <: Bob[K], K],
while ExampleB has Foo[T <: Bob[K]], is there anyway a call to
ExampleA.Foo[T <: Bob[K]] can result in an implicit conversion?

I've had a go, but no luck, but at this early stage in my learning
Scala, there are high odds that when something doesn't work, I'm doing
it wrong.


Liam Clarke

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland