I am trying to understand the .u.rep function in r.q:
.u.rep: (.[;();:;].)each x
Shouldn't it apply the function to every item in x since we do "each"; it still needs the right-most dot to apply the function to each pair of x
Here, x: x:((`trade;([]time:`time$();sym:`$();price:`float$();size:`int$()));(`quote;([]time:`time$();sym:`$();bid:`float$();bsize:`int$();ask:`float$();asize:`int$())));
Why does it create a projection? (without the right-most dot, it’s a projection):
.u.rep: (.[;();:;])each x