[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 13:29:07 -0500 |
Yeah I was thinking something like:
VERSION := 1.3.0
OLD_VERSION := 1.2.0
EMPTY :=
SPACE := $(EMPTY) $(EMPTY)
ver_is_less_than = $(strip \
$(let \
( \
(major1 $(word 1,$(subst .,$(SPACE),$1))) \
(minor1 $(word 2, ...)) ... \
) \
$(if $(expr $(major1) <= $(major2) \
1, \
$(if $(expr $(minor1) < $(minor2) ...))))))
ifneq ($(call ver_is_less,$(VERSION),$(OLD_VERSION)),)
...
endif
- Tail call elimination, Pete Dietl, 2020/05/11
- 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, 2020/05/18
- 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