aboutsummaryrefslogtreecommitdiff
path: root/help/´fold.md
diff options
context:
space:
mode:
authorrazetime <raghuallthetime@hotmail.com>2022-01-19 10:14:32 +0530
committerrazetime <raghuallthetime@hotmail.com>2022-01-19 10:14:32 +0530
commitcf65cfb32f34b7c9fed4614479d8242c51321bac (patch)
tree46e00a664396fdb4452e5eb89c87ddd033aedc38 /help/´fold.md
parent9465180cb19a41efccd7130cfc75d760a733bb30 (diff)
primitive function and modifier help pages
Diffstat (limited to 'help/´fold.md')
-rw-r--r--help/´fold.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/help/´fold.md b/help/´fold.md
new file mode 100644
index 00000000..0f3d2a69
--- /dev/null
+++ b/help/´fold.md
@@ -0,0 +1,28 @@
+Acute Accent (`´`)
+
+`𝔽´ 𝕩`: Fold
+
+Fold over `𝕩` with `𝔽` from right to left i.e. Insert `𝔽` between the elements of `𝕩`.
+```
+ +´ 1‿2‿3
+6
+ 1+2+3
+6
+ -´ 1‿2‿3
+2
+ 1-2-3
+2
+```
+`𝕨 𝔽´ 𝕩`: Fold With initial
+
+Monadic fold, but use `𝕨` as initial right argument.
+```
+ 5 +´ 1‿2‿3
+11
+ 1+2+3+5
+11
+ 5 -´ 1‿2‿3
+¯3
+ 1-2-3-5
+¯3
+``` \ No newline at end of file