Build an n-ary function type from a Vect of Types and a result type
Returns the co-domain of a n-ary function.