Currently my trait has an additional type T, which has no real use, except to ensure that B and R have the same common type.
trait GenericBuilder[T <: Any, B <: Builder[T], R <: Result[T]]
To simplify the declaration, I wonder if there is a way to eliminate T in this case, while preserving type rigor.
EDIT: I do not control the Builder or Result code - they are pulled from some Java artifacts outside.
source share