4 ms·
> if { = 0 == 1 } then { What in the heck is that first '=' for?
by throwaway20371 5y ago
> if { = 0 == 1 } then {
What in the heck is that first '=' for?
- hnlmorg 5y agoEverything is a function. So = is a function name for logical and mathematical operations. https://murex.rocks/docs/commands/equ.html https://murex.rocks/docs/commands/equ.html
- bccdee 5y agoI assume `=` is the equivalent of `test` — it's a function invocation, and `[0, ==, 1]` are its arguments.
- tzot 5y agoA renamed `expr` of the shell.