From 2c50d91ec7eb8bc7890befe874a0b93729c2437e Mon Sep 17 00:00:00 2001 From: razetime Date: Wed, 19 Jan 2022 22:48:16 +0530 Subject: add h2s remove copied output, ascii filenames --- help/fold.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 help/fold.md (limited to 'help/fold.md') diff --git a/help/fold.md b/help/fold.md new file mode 100644 index 00000000..3684d96c --- /dev/null +++ b/help/fold.md @@ -0,0 +1,30 @@ +*View this file with results and syntax highlighting [here](https://mlochbaum.github.io/BQN/help/fold.html).* + +# Acute Accent (`´`) + +## `𝔽´ 𝕩`: Fold + +Fold over `𝕩` with `𝔽` from right to left i.e. Insert `𝔽` between the elements of `𝕩`. + + +´ 1‿2‿3 + + 1+2+3 + + -´ 1‿2‿3 + + 1-2-3 + + +## `𝕨 𝔽´ 𝕩`: Fold With initial + +Monadic fold, but use `𝕨` as initial right argument. + + 5 +´ 1‿2‿3 + + 1+2+3+5 + + 5 -´ 1‿2‿3 + + 1-2-3-5 + + -- cgit v1.2.3