title: Defining `implicit def` w/ Implicit?
body: <p>Given:</p>
  
  <pre><code>trait Foo[A]
  class B
  </code></pre>
  
  <p>and then the following <code>implicit def</code>:</p>
  
  <pre><code>implicit def f[A](b: B)(implicit ev: Foo[A]): String = "foo"
  </code></pre>
  
  <p>I attempted to resolve <code>B =&gt; String</code> implicitly, but it failed to compile:</p>
  
  <pre><code>scala&gt; implicitly[B =&gt; String]
  &lt;console&gt;:15: error: No implicit view available from B =&gt; String.
         implicitly[B =&gt; String]
                   ^
  </code></pre>
  
  <p>I'm guessing that the <code>implicit Foo[A]</code> is throwing a wrench, so to speak, in my implicit resolution of <code>B =&gt; String</code>.</p>
  
  <p>How can I adjust the <code>implicitly</code>'s argument, i..e <code>B =&gt; String</code>, so that the above compiles?</p>