[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. ;-)
- Re: Tail call elimination, (continued)
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- Re: Tail call elimination, Daniel Herring, 2020/05/20
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- Re: Tail call elimination, Paul Smith, 2020/05/20
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- Re: Tail call elimination, Paul Smith, 2020/05/20
- Re: Tail call elimination, Daniel Herring, 2020/05/20
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- Re: Tail call elimination, Pete Dietl, 2020/05/20
- Re: Tail call elimination, Paul Smith, 2020/05/21
- Re: Tail call elimination,
Kevin R. Bulgrien <=
- Re: Tail call elimination, Paul Smith, 2020/05/21
- Re: Tail call elimination, Tim Murphy, 2020/05/21
- Re: Tail call elimination, Paul Smith, 2020/05/21
- Re: Tail call elimination, Paul Smith, 2020/05/21
- Re: Tail call elimination, Kevin R. Bulgrien, 2020/05/21
- Re: Tail call elimination, Kevin R. Bulgrien, 2020/05/21
- Re: Tail call elimination, Paul Smith, 2020/05/21
- Re: Tail call elimination, Pete Dietl, 2020/05/21
- Re: Tail call elimination, Pete Dietl, 2020/05/22
- Re: Tail call elimination, Tim Murphy, 2020/05/22