Tips for golfing in K
Calling a Dyad

Assuming you had a dyadic (2-argument) function f:

f: {x+2*y}


You would ordinarily call it like so:

f[3;47]


You can save a character by instead currying in the first argument and then applying the resulting partial function to the second argument by juxtaposition:

f[3]47


The same naturally works for array indexing:

  z: (12 17 98;90 91 92)
(12 17 98
 90 91 92)

  z[1;2]
92

  z[1]2
92