[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: String interpolation
From: |
Stefan Monnier |
Subject: |
Re: RFC: String interpolation |
Date: |
Thu, 08 Dec 2016 15:04:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) |
>>> fmt expands the strings at compile time (so they must be constant
>>> strings).
>> I've occasionally appreciated the fact that I can pass a dynamically
>> created format string to `format'... ;-) Ok, I could always use
>> `format' in such cases.
> Yes; otherwise, fmt becomes a thinly veiled eval, and that isn't great.
Not only that, but if it's a function it doesn't have access to the
variables in the lexical scope of the caller.
Stefan
- RFC: String interpolation, Clément Pit--Claudel, 2016/12/07
- Re: RFC: String interpolation, Andreas Schwab, 2016/12/08
- Re: RFC: String interpolation, Philippe Vaucher, 2016/12/08
- Re: RFC: String interpolation, Joost Kremers, 2016/12/08
- RE: RFC: String interpolation, Drew Adams, 2016/12/08
- Re: RFC: String interpolation, Stefan Monnier, 2016/12/08
- Re: RFC: String interpolation, Ted Zlatanov, 2016/12/09