Hacker News new | ask | show | jobs
by throwaway20371 1694 days ago
> if { = 0 == 1 } then {

What in the heck is that first '=' for?

3 comments

I assume `=` is the equivalent of `test` — it's a function invocation, and `[0, ==, 1]` are its arguments.
Everything is a function. So = is a function name for logical and mathematical operations.

https://murex.rocks/docs/commands/equ.html

A renamed `expr` of the shell.