aboutsummaryrefslogtreecommitdiff
path: root/help/scan.md
diff options
context:
space:
mode:
Diffstat (limited to 'help/scan.md')
-rw-r--r--help/scan.md16
1 files changed, 7 insertions, 9 deletions
diff --git a/help/scan.md b/help/scan.md
index 1847de86..126418a2 100644
--- a/help/scan.md
+++ b/help/scan.md
@@ -1,12 +1,12 @@
*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/scan.html).*
# Grave (`` ` ``)
-
+
## ``𝔽` 𝕩``: Scan
-
+
Scan over `𝕩` with `𝔽` from left to right, producing intermediate values.
-
-
+
+
+` 1‿2‿3
⟨1, 1+2, (1+2)+3⟩
@@ -15,11 +15,11 @@ Scan over `𝕩` with `𝔽` from left to right, producing intermediate values.
⟨1, 1-2, (1-2)-3⟩
-
+
## ``𝕨 𝔽` 𝕩``: Scan With initial
-
+
Monadic scan, but use `𝕨` as initial left argument.
-
+
5 +` 1‿2‿3
⟨5+1, (5+1)+2, ((5+1)+2)+3⟩
@@ -27,5 +27,3 @@ Monadic scan, but use `𝕨` as initial left argument.
5 -` 1‿2‿3
⟨5-1, (5-1)-2, ((5-1)-2)-3⟩
-
-