Each prior: Difference between revisions
Content added Content deleted
(add eachprior) |
("More lowercasing") |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{primitive|f':x<br>x f':y}} |
{{primitive|f':x<br>x f':y}} |
||
''' |
'''each prior''' applies a [[dyadic]] function to each element, and the element prior to it. |
||
If provided with a left argument, uses it as an initial value. |
If provided with a left argument, uses it as an initial value. |
||
<pre> |
<pre> |
||
-':1 6 2 3 4 |
|||
1 |
1 5 -4 1 1 |
||
5 |
5-':1 6 2 3 4 |
||
-4 5 -4 1 1 |
|||
</pre> |
</pre> |
||
[[Category:Adverbs]] |
|||
[[Category:Primitives]] |
Latest revision as of 04:42, 9 July 2022
Each prior
f':x
x f':y
x f':y
each prior applies a dyadic function to each element, and the element prior to it.
If provided with a left argument, uses it as an initial value.
-':1 6 2 3 4 1 5 -4 1 1 5-':1 6 2 3 4 -4 5 -4 1 1