compile/equal?

Symbol: compile/equal? Aliases: compile/==

Syntax: (equal? A B ...)

Use-case: Chained comparison – at least two values. Succeeds when each adjacent pair is equal, like Python chained comparisons.

Behaviour: Compiles each argument, emits the corresponding OBJECT_* opcode with operand count.

Examples:

(equal? 1 1)
(equal? 0 1)   ; false

See Object operator overview for the full comparison table.

Also: operator function equal?.