:: Int -> IO a -> IO [a] package:vector

O(n) Execute the monadic action the given number of times and store the results in a vector.