I’d like to get a reference to an overloaded math class
Given the following
def something[T](x: List[Number[T]]) = ???
I’d like to locate the correct math.max method for a Number of type T.
I’m aware that I could simply pull the first element out, get it’s type and use reflection to find the correct method. It just seems ugly. I also understand that due to type erasure of
T that it’s not going to be but so elegant.