docs/src/reference-dsl-builtin-functions.md
These are functions in the Miller programming language that you can call when you use mlr put and mlr filter. For example, when you type
the toupper and gsub bits are functions.
At the command line, you can use mlr -f and mlr -F for information much like what's on this page.
Each function takes a specific number of arguments, as shown below, except for functions marked as variadic, such as min and max. (The latter compute the min and max of any number of arguments.) There is no notion of optional or default-on-absent arguments. All argument-passing is positional rather than by name; arguments are passed by value, not by reference.
At the command line, you can get a list of all functions using mlr -f, with details using mlr -F. (Or, mlr help usage-functions-by-class to get details in the order shown on this page.) You can get details for a given function using mlr help function namegoeshere, e.g., mlr help function gsub.
Operators are listed here along with functions. In this case, the argument count refers to the number of items involved in the infix operator. For example, we say x+y, so the details for the + operator indicate that it has two arguments. Unary operators such as ! and ~ show argument-count of 1; the ternary ? : operator shows an argument count of 3.
<a id=percent> </a>
<a id=bitwise-and> </a>
<a id=times> </a>
<a id=exponentiation> </a>
<a id=plus> </a>
<a id=minus> </a>
<a id=dot-times> </a>
<a id=dot-plus> </a>
<a id=dot-minus> </a>
<a id=dot-slash> </a>
<a id=slash> </a>
<a id=slash-slash> </a>
<a id=lsh> </a>
<a id=srsh> </a>
<a id=ursh> </a>
<a id=bitwise-xor> </a>
<a id=bitwise-or> </a>
<a id=bitwise-not> </a>
<a id=exclamation-point> </a>
<a id=exclamation-point-equals> </a>
<a id=regnotmatch> </a>
<a id=logical-and> </a>
<a id=less-than> </a>
<a id=less-than-or-equals> </a>
<a id=double-equals> </a>
<a id=regmatch> </a>
<a id=greater-than> </a>
<a id=greater-than-or-equals> </a>
<a id=question-mark-colon> </a>
<a id=absent-coalesce> </a>
<a id=absent-empty-coalesce> </a>
<a id=logical-xor> </a>
<a id=logical-or> </a>
<a id=dot> </a>