On Fri, 2021-07-16 at 14:04 +0200, Jouke Witteveen wrote:
> +@item $(compare 
> @var{lhs},@var{rhs},@var{lt-part}[,@var{eq-part}[,@var{gt-part}]])

Let me ask this: would it be better to use a format of:

  $(compare <lhs>, <rhs>, <eq>[, <lt>[, <gt>]])

Then the rule is, if the values are equal we get the <eq> part, if lhs
is less than rhs we get <lt>, and if lhs is greater than rhs we get

If <gt> is not present then the invocation devolves to:

  $(compare <lhs>, <rhs>, <eq>, <!eq>)

that is, the fourth arg is used for not equal.

If <lt> is also not present then <eq> is used if the value is equal
else it expands to the empty string.

Reply via email to