[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
user-defined
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
functions.
--- David A. Wheeler
- Idea: Allow $(name ...) as an abbrevation of $(call name ....), David A. Wheeler, 2019/06/09
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Paul Smith, 2019/06/09
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Masahiro Yamada, 2019/06/10
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Masahiro Yamada, 2019/06/11
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), David A. Wheeler, 2019/06/11
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Tim Murphy, 2019/06/13
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....),
David A. Wheeler <=
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Masahiro Yamada, 2019/06/13
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Tim Murphy, 2019/06/14
- Re: Idea: Allow $(name ...) as an abbrevation of $(call name ....), Masahiro Yamada, 2019/06/13