Each left: Difference between revisions

From The K Language Wiki
Content added Content deleted
(add each right page)
 
mNo edit summary
Line 1: Line 1:
{{primitive|x f\:y}}
{{primitive|x f\:y}}


'''Each left''' applies a two argument function <code>f</code> to the entirety of <code>y</code> and each element of <code>x</code>.
'''Each left''' applies a [[dyadic]] function <code>f</code> to the entirety of <code>y</code> and each element of <code>x</code>.


<pre>
<pre>

Revision as of 08:45, 31 July 2021

Each left
x f\:y

Each left applies a dyadic function f to the entirety of y and each element of x.

 3 4 5 +\:(2 3;4 5;6)
((5 6;7 8;9)
 (6 7;8 9;10)
 (7 8;9 10;11))

See Also

each right