This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Why isn't this Scala implicit conversion working?

1 reply
Yang Zhang
Joined: 2010-02-09,
User offline. Last seen 42 years 45 weeks ago.

I posted this on SO but was hoping there's a Scala guru on this list
who can help me get a better understanding of what's going on:

http://stackoverflow.com/questions/8045594/why-isnt-this-scala-implicit-...

In particular, how do you make my original attempt to define a more
generally applicable implicit (instead of the two
less-generally-applicable implicits that are in the currently accepted
answer) work? Thanks in advance for any help.

Peter 2
Joined: 2011-02-16,
User offline. Last seen 42 years 45 weeks ago.
Re: Why isn't this Scala implicit conversion working?

Hi Yang,
please tell me where the value for your implicit parameter f is
defined? I simply cannot see it.
If you call method GET directly that implicit parameter is no more
needed.
Peter

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