[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] Guile conditional
From: |
Dmitry Bogatov |
Subject: |
Re: [patch] Guile conditional |
Date: |
Thu, 2 Jul 2015 20:48:05 +0300 |
User-agent: |
Mutt/1.5.23.1-rc1 (2014-03-12) |
* Paul Smith <address@hidden> [2015-07-02 11:06:53-0400]
> On Mon, 2015-06-15 at 17:36 +0300, Dmitry Bogatov wrote:
> > I would like to propose patch, implementing new
> > conditional: `ifscm'. It has following syntax:
> >
> > ifscm (some s-expression #f)
> > MAKE_VAR = foo
> > endif
>
> Can't you write:
>
> ifneq ($(guile some s-sexpression),)
>
> It's not quite as clean, but it doesn't require new syntax which has its
> own advantages.
It is not as clean.
Currently Guile integration is limited to gmk-eval and is little
better then
$(eval $(shell ./some-helper-script))
This patch integrate them a little deeper. And, by the way (VAR != ls -A)
assignment is very like this.
--
Accept: text/plain, text/x-diff
Accept-Language: eo,en,ru
X-Keep-In-CC: yes
pgpeYC6xPJunP.pgp
Description: PGP signature