I see that =
is great for "comparing" more than two (numerical) arguments, e.g., (= 1 1 1)
. But then eq
, eql
, and equal
all only allow two arguments. And nesting is nonsense, i.e., the inner eq
returns only nil
or t
to compare the next argument. Any way to get more than two things (non-number) compared with a comparison predicate? For example:
(= (+ (* constant input-1) input-2)
(+ (* constant input-2) input-1)
(* constant output))
This, BTW, is a definition of a linear system. But then it's awkward to not be able to directly compare more than two conditions at a time.