This uses the fact that vector `v` can be index by `(v i)`. `my-map` should work for other sequences too.