Miscelaneous utility functions.
Constructs an array by repeating repeated. Most useful when LENGTH can be inferred.
repeated
LENGTH