« I wish to keep sym file small. How can I find out if I will be introducing a new symbol before splaying the data out to disk? | Main | Why doesn’t my query 'select from reallybigtable' ever return? »

How can I define my own infix functions?

Put them in the .q workspace, e.g.,

q).q.f: {x + y}
q)5 f 6
11
q)

This is generally considered bad style.

PrintView Printer Friendly Version

EmailEmail Article to Friend

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Textile formatting is allowed.