Not sure I understood your question completely, but sounds like you want to apply a function element by element? Obviously arithmetic functions already do this in KDB+, but for the sake of illustration:
q)a
8 1 9 5 4 6 6 1 8 5
q)b
4 9 2 7 0 1 9 2 1 8
q)f:{[x;y] x*y}
q)a,'b
8 4
1 9
9 2
5 7
4 0
6 1
6 9
1 2
8 1
5 8
q)f .' a,'b
32 9 18 35 0 6 54 2 8 40
The appropriate references are:
http://code.kx.com/q/ref/errors/#signal (each both)