There were type gymnastics you could do using overloads to reach any arbitrary level of coverage, but it was ugly and always short of fully general.