Current `repeat` could only be used with fixed numbers, but it's also necessary to allow non-constant min/max parameters.