File tree Expand file tree Collapse file tree 3 files changed +24
-0
lines changed
Expand file tree Collapse file tree 3 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,14 @@ first level of the stack should take one argument and return a single value.
4646
4747` { A B ... } ` ` F ` ▶ ` { F(A) F(B) ... } `
4848
49+ The operation applies recursively to inner lists.
50+
51+ ``` rpl
52+ { 1 2 { 3 4 } } « →STR » MAP
53+ @ Expecting { "1" "2" { "3" "4" } }
54+
55+ ```
56+
4957## Reduce
5058
5159Apply a cumulative pairwise operation on all elements in a list or array.
Original file line number Diff line number Diff line change @@ -12559,6 +12559,14 @@ first level of the stack should take one argument and return a single value.
1255912559
1256012560`{ A B ... }` `F` ▶ `{ F(A) F(B) ... }`
1256112561
12562+ The operation applies recursively to inner lists.
12563+
12564+ ```rpl
12565+ { 1 2 { 3 4 } } « →STR » MAP
12566+ @ Expecting { "1" "2" { "3" "4" } }
12567+
12568+ ```
12569+
1256212570## Reduce
1256312571
1256412572Apply a cumulative pairwise operation on all elements in a list or array.
Original file line number Diff line number Diff line change @@ -12567,6 +12567,14 @@ first level of the stack should take one argument and return a single value.
1256712567
1256812568`{ A B ... }` `F` ▶ `{ F(A) F(B) ... }`
1256912569
12570+ The operation applies recursively to inner lists.
12571+
12572+ ```rpl
12573+ { 1 2 { 3 4 } } « →STR » MAP
12574+ @ Expecting { "1" "2" { "3" "4" } }
12575+
12576+ ```
12577+
1257012578## Reduce
1257112579
1257212580Apply a cumulative pairwise operation on all elements in a list or array.
You can’t perform that action at this time.
0 commit comments