aboutsummaryrefslogtreecommitdiff
path: root/tutorial/list.md
diff options
context:
space:
mode:
authorMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-06 08:31:25 -0500
committerMarshall Lochbaum <mwlochbaum@gmail.com>2020-11-06 08:31:25 -0500
commit9bf9723bbf8177dfb9c967eba5064191839d5672 (patch)
tree2fad0ed2ff45369ebd323fee7e5b8c7bae146071 /tutorial/list.md
parentbbd23dc8051e3de7e97bc36fe76098572383e1fb (diff)
Fix keyboard shortcut for ¨ (fixes #9)
Diffstat (limited to 'tutorial/list.md')
-rw-r--r--tutorial/list.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial/list.md b/tutorial/list.md
index 671cef27..350d85f1 100644
--- a/tutorial/list.md
+++ b/tutorial/list.md
@@ -119,7 +119,7 @@ With a left argument `⌽` means Rotate instead, and shifts values over by the s
### …and modifiers
<!--GEN
-Primitives ⟨"¨%1%Each", "´%5%Fold", "∾%,%Join%Join To"⟩
+Primitives ⟨"¨%2%Each", "´%5%Fold", "∾%,%Join%Join To"⟩
-->
The 1-modifier Each (`¨`) applies its operand to every element of a list argument: it's the same as `map` in a functional programming language. With two list arguments (which have to have the same length), Each pairs the corresponding elements from each, a bit like a `zip` function. If one argument is a list and one's an atom, the atom is reused every time instead.