Multiplying a list of tuples by a tuple in F#
问题 I'm writing some code in F# and I need to multiply and add each element in list of tuples (c,d) by a tuple (a,b) . To clarify, I have some tuple (a,b) And some list of tuples [(c,d),(e,f),(g,h)...] and I'm trying to get [(a*c,b*d),(a*e,b*f),(a*g,b*h)...] and I'm trying to get (with a separate function) [(a+c,b+d),...] I have tried to use List.map to multiply each element in the list by a tuple but I get an error that * is an invalid operator for type tuple. This is how I ended up implementing