[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] Introduce $(compare ...) for numerical comparison

From: Edward Welbourne
Subject: Re: [PATCH 3/3] Introduce $(compare ...) for numerical comparison
Date: Tue, 16 Nov 2021 09:28:53 +0000

On Sun, Nov 14, 2021 at 8:42 PM Paul Smith <psmith@gnu.org> wrote:
> It's even possible to allow $(compare <lhs>,<rhs>) with no other
> arguments and say that if they are equal then it expands to the value,
> else it expands to the empty string, to give a very short-circuited
> equality statement.

I should point out one bug in that: if the two parameters are equal
*but empty* you're going to mistake that for them being different.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]