aboutsummaryrefslogtreecommitdiff
path: root/help/repeat.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2022-01-19 15:10:38 -0500
committerGitHub <noreply@github.com>2022-01-19 15:10:38 -0500
commitce364aeae795ca8a8e46e653b8024ac5a9ad0982 (patch)
tree7af238dbdb370a768f965066dadadd144cbd70f7 /help/repeat.md
parent8f0aa14fa695ff3aa3b3ed96c02fdb2ab99f272c (diff)
parentedddb9be0aa1f03c8608d3dabf7ccfea3fdde206 (diff)
Merge pull request #55 from razetime/master
Simple help pages for Primitive Symbols
Diffstat (limited to 'help/repeat.md')
-rw-r--r--help/repeat.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/help/repeat.md b/help/repeat.md
new file mode 100644
index 00000000..4a94ac57
--- /dev/null
+++ b/help/repeat.md
@@ -0,0 +1,17 @@
+*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/repeat.html).*
+
+# Circle Star (`⍟`)
+
+## `𝔽⍟𝔾 𝕩`, `𝕨 𝔽⍟𝔾 𝕩`: Repeat
+
+Apply `𝔾` to `𝕨` and `𝕩` and apply `𝔽` to `𝕩` that may times. If `𝕨` is given, keep it as a constant left argument.
+
+If `𝔾` returns an array, give `𝔽⍟𝕩` for each element.
+
+ 1 +⍟⊢ 4
+
+ 1 +⍟1‿2‿3 4
+
+ 3 ∾⍟{≠𝕩} ⟨4,5,6⟩
+
+