[Top][All Lists]

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

Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....)

From: David A. Wheeler
Subject: Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....)
Date: Thu, 13 Jun 2019 13:55:19 -0400 (EDT)

On Thu, 13 Jun 2019 18:18:15 +0100, Tim Murphy <address@hidden> wrote:
> builtin functions can check their arguments to some extent. Interesting to
> wonder if user defined ones can.
> we don't even have $(equals) or a way to know the number of arguments that
> were supplied or any mathematical operations with which to compare. So when
> something is called wongly it charges on to the end, evaluating blindly to
> who knows what and we can spend hours trying to tease out the cause of a
> missing compiler option .... but.....we are focused on the saving of a tiny
> bit of typing.

It's not the typing, it's the reading.  When 20% of the lines makes a 
function call (my situation), simplifying the function call matters.

Equals and math operations can be implemented using $(shell ...).
If you think more are needed, that sounds like a proposal, go ahead and make it.
There's no conflict between this syntax proposal & adding more built-in 

--- David A. Wheeler

reply via email to

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