[Top][All Lists]

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

Re: Tail call elimination

From: Kevin R. Bulgrien
Subject: Re: Tail call elimination
Date: Thu, 21 May 2020 00:37:14 -0500 (CDT)

> Of course we can still do prefix notation with a single function we
> just have to choose a name for it and it's a little less slick; for
> example something like:
>   $(op + 5 7 $(op * 3 2) 9)
> or whatever so the function is named "op" (for example).  Or it could
> be named something else like "=", if "= +" doesn't seem too odd.

Is "math" a possible function name?

Other function syntax where there are "different" types of parameters
or arguments (i.e. subst, patsubst, findstring, filter, etc.), use a
syntax something like:

$(math operator, value list)

Consistent syntax patterns are often a plus.  ;-)

reply via email to

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