Applies proc to set in arbitrary order, discarding the returned values. Returns an unspecified result.