4 ms·
You probably meant: vectorDotProduct = zipWith ( * ) (and this doesn't even include the sum) map ( * ) has type Num a => [a] -> [a -> a] which is not really
by lincolnq 18y ago
You probably meant:
vectorDotProduct = zipWith ( * )
(and this doesn't even include the sum)
map ( * ) has type Num a => [a] -> [a -> a] which is not really what the dot product should be.