Element - ẋ
- Repeat
Characters:
ẋ
Description
Repeat a value several times
Overloads
str-num
-a * b
num-str
-b * a
any-num
-repeat a b times ([a, a, ...])
str-str
-a + " " + b
fun-any
-repeat function a on b while results are not unique ([a(b), a(a(b)), a(a(a(b))), ...] stopping at the first element i such that i == a(i))
any-fun
-repeat function a on b while results are not unique ([b(a), b(b(a)), b(b(b(a))), ...] stopping at the first element i such that i == b(i))
Examples
⟨1|2|3⟩ 3 ẋ
=⟨⟨1|2|3⟩|⟨1|2|3⟩|⟨1|2|3⟩⟩
`x` 5 ẋ
=`xxxxx`
`x` -2.3 ẋ
=`xx`
0 4 ẋ
=⟨0|0|0|0⟩
4 0 ẋ
=⟨⟩
`a` `b` ẋ
=`a b`
`` `` ẋ
=` `