Consider a function that takes two types A, B and returns on object A(B). The standard example for this would be A = defaultdict
A
B
A(B)
A = defaultdict