title: Generic extending class AND implements interface in Kotlin
body: <p>Say I want a type variable, T, that extends a certain class and implements an interface. Something like:</p>
  
  <pre><code>class Foo &lt;T : Bar implements Baz&gt; { ... }
  </code></pre>
  
  <p>What is the syntax for this in Kotlin?</p>