
14 Jan
2009
14 Jan
'09
6:59 p.m.
On 2009 Jan 14, at 10:26, Neil Mitchell wrote:
As an example: foo = u"abc\N{VULGAR FRACTION ONE HALF}"
Hmm, looks nice, and sensible. But as soon as you've got \N{....} syntax I want:
"foo\E{show i}bar"
i.e. embed expressions in strings. I think this would be fantastic.
why not simpy "foo\E{i}bar" ?
What if i is a string? You'd get: foo"i"bar
Having different behaviour for string vs everything else would be equally bad.
...except that show already *has* different behavior for String vs. everything else. -- brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH