[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Guile support in GNU make
From: |
Paul Smith |
Subject: |
Re: Guile support in GNU make |
Date: |
Sun, 15 Jan 2012 15:49:18 -0500 |
On Sun, 2012-01-15 at 21:11 +0100, Thien-Thi Nguyen wrote:
> [desirability of #t => "t" and #f => ""]
>
> Thanks. Now that i understand the motivation, i think the current
> way is fine. You should move this excellent example into the docs.
OK I'll try to find a realistic example to make this more clear.
> > Oh yeah, i forgot: I think Make vars should not be accessed by a
> > Scheme string, but rather a symbol
>
> Well, my concern about this is that in GNU make, anyway, we very often
> use constructed variable names. I would assume that the same would be
> true in Guile procedures, which means it will more be convenient to
> store variable names in strings in Guile (it seems to me) so they can be
> more easily manipulated. Of course you can always use symbol->string
> etc.
>
> Guile has both ‘string-append’ and ‘symbol-append’ as well as the other
> string-manipulation procedures, so the convenience argument is not so
> convicing. But why XOR instead of OR? It's no big deal to...
>
> But is this worth it, to require the Guile user to always perform
> this operation when we could do it automatically?
>
> ...support either string or symbol argument. The current implementation,
> i.e., ‘(format #f "$(~A)" X)’ will DTRT. All it needs is documentation.
Yes that's true. OK I'll update the documentation.
Thanks!
--
-------------------------------------------------------------------------------
Paul D. Smith <address@hidden> Find some GNU make tips at:
http://www.gnu.org http://make.mad-scientist.net
"Please remain calm...I may be mad, but I am a professional." --Mad Scientist
- Guile support in GNU make, Paul Smith, 2012/01/14
- Re: Guile support in GNU make, Thien-Thi Nguyen, 2012/01/15
- Re: Guile support in GNU make, Thien-Thi Nguyen, 2012/01/15
- Re: Guile support in GNU make, Paul Smith, 2012/01/15
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/16
- Re: Guile support in GNU make, Paul Smith, 2012/01/16
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/17
- Re: Guile support in GNU make, Paul Smith, 2012/01/17
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/19
- Re: Guile support in GNU make, Ludovic Courtès, 2012/01/19