[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tail call elimination
From: |
Pete Dietl |
Subject: |
Re: Tail call elimination |
Date: |
Mon, 18 May 2020 14:17:30 -0500 |
> Each of these has an obvious 'output', which is not the case for
> something like a comparison operator. This is also an objection
> against $(eq) and $(not), which are hidden behind the EXPERIMENTAL
> compilation flag.
I think the convection is that an empty string is false while a
non-empty string is true.
> Otherwise, POSIX prescribes an expr command, so with:
> expr = $(shell expr '$1')
> you can already do $(call expr,2 * 3 + 5).
Ooh I didn't know about that.
That seems like a good alternative.
- Re: Tail call elimination, (continued)
- Re: Tail call elimination, Paul Smith, 2020/05/11
- Re: Tail call elimination, Pete Dietl, 2020/05/11
- Re: Tail call elimination, Pete Dietl, 2020/05/11
- Re: Tail call elimination, Jouke Witteveen, 2020/05/13
- Re: Tail call elimination, Pete Dietl, 2020/05/18
- Re: Tail call elimination, Tim Murphy, 2020/05/18
- Re: Tail call elimination, Pete Dietl, 2020/05/18
- Re: Tail call elimination, Paul Smith, 2020/05/18
- Re: Tail call elimination, Pete Dietl, 2020/05/18
- Re: Tail call elimination, Jouke Witteveen, 2020/05/18
- Re: Tail call elimination,
Pete Dietl <=
- Re: Tail call elimination, Pete Dietl, 2020/05/18
- Re: Tail call elimination, Pete Dietl, 2020/05/18
- Re: Tail call elimination, Tim Murphy, 2020/05/18
- Re: Tail call elimination, Paul Smith, 2020/05/18
- Re: Tail call elimination, Tim Murphy, 2020/05/18
- string comparison operators (was: Re: Tail call elimination), Paul Smith, 2020/05/18
- Re: string comparison operators (was: Re: Tail call elimination), Pete Dietl, 2020/05/18
- Re: string comparison operators (was: Re: Tail call elimination), Paul Smith, 2020/05/18
- Re: Tail call elimination, Daniel Herring, 2020/05/18
- Re: Tail call elimination, Paul Smith, 2020/05/19