:: a -> [a] package:rebase

repeat x is an infinite list, with x the value of every element.
>>> repeat 17
[17,17,17,17,17,17,17,17,17...
Produce singleton list.
>>> singleton True
[True]