This still technically reduces the generality of the given function since you are specifying that each function cannot have multiple overloads.
let f be a overload set matching the signatures {a -> b, i -> j} let g be a overload set matching the signatures {b -> c, j -> k}
compose(g, f) could be given a to return c or i to return k