Field | Value |
---|---|
DIP: | (number/id -- assigned by DIP Manager) |
Review Count: | 0 (edited by DIP Manager) |
Author: | monkyyy, [email protected] |
Implementation: | (links to implementation PR if any) |
Status: | Draft |
The string debate heated up again
- Rationale
- Prior Work
- Description
- Breaking Changes and Deprecations
- Reference
- Copyright & License
- Reviews
Working with string sux, foo.to!string ~" "~bar.to!string
dip1027, yaidip, bash, etc.
Im not a compiler dev to write the formal specs
$"$foo -$bar"
becomes stringiterp("$foo -$bar",foo,bar)
A defualt string stringiterp(T...)(string s,T args)
is added to std.string.
Overloading can be done by not importing std.string and defining a local stringiterp
function
I know of nothing
Optional links to reference material such as existing discussions, research papers or any other supplementary materials.
Copyright (c) 2022 by the D Language Foundation
Licensed under Creative Commons Zero 1.0
The DIP Manager will supplement this section with a summary of each review stage of the DIP process beyond the Draft Review.