I've got this terribly useful implicit class that I want to extend GenIterable:
import scala.collection.GenIterable
implicit class WhatUpTho[S<:GenIterable[T],T](s:S) extends GenIterable[T]{
def whatUpTho = println("sup yo")
}
Unfortunately, the compiler won't let me write this because it's missing 79 methods or attributes required by the trait GenIterable. I'd like to defer all requests against WhatUpTho not specifically defined to its s parameter.
How do I make that happen?