composition / what is (...)?

I’ve used the following to create dictionaries as arguments forfunctions since ages, and understand it (to the extent where I can sayI understand):(!). ((a;b); (c;d))can also do:(!). 2 cut abcdBut I don’t completely understand if the following snippet is Happy Code:f: (') [{show “doing something with x”; show x;}; plist]What is it doing, and does it want to do it?regards,rohit

http://code.kx.com/wiki/Reference/Apostrophe

Regards,
XI

putting an operator in parens makes it into a noun even in contexts where it couldn’t otherwise be one

(f).(x;y)

is

.[f;(x;y)]

or

f[x;y]

and so is

(f) [x;y]

with most operators this is pointless, but parser details prevent

c:'[f;g]

from working, so some alternate form is needed

On Nov 22, 1:22?am, Aaron Davies <aaron.dav…> wrote:> with most operators this is pointless, but parser details prevent>> c:'[f;g]>> from working, so some alternate form is neededunderstood…this is it then :) thanks.</aaron.dav…>

See the comment of the codes in the link

Xi