title: How to extract type parameter from type
body: <p>Given the following classes:</p>
  
  <pre><code>abstract class Foo[B] 
  abstract class Baz[B, F &lt;: Foo[B]] {
      def get(foo: F): B
      // other methods
  } 
  </code></pre>
  
  <p>I hate that I need two type parameters in <code>Baz</code> when the first is redundant.  I want to write something like:</p>
  
  <pre><code>abstract class Baz[F &lt;: Foo[B]] {
    def get(foo: F): B
  }
  </code></pre>
  
  <p>Is it possible for me to reference the B type (of F) within Baz without taking multiple type parameters?  This feels like it should be possible, but I can't seem to figure out the syntax. </p>