:: (a -> b) -> [a] -> [b] -package:base-compat-batteries package:vector is:exact

O(n) Map a function over a vector.