Wanted: Format character for source code literal

Steven Schveighoffer schveiguy at gmail.com
Fri Apr 30 12:39:14 UTC 2021


On 4/30/21 4:10 AM, Patrick Schluter wrote:
> On Friday, 30 April 2021 at 07:10:38 UTC, Berni44 wrote:
>> I plan to add an extension to `std.format`, namely a new format 
>> character with the meaning of producing a source code literal. Or more 
>> formally, the following snippet should work for every type this 
>> extension will support:
>>
>> [...]
> 
> %m in reference to mixin ?

I like this.

I also could be OK with capital D. I know it normally stands for make 
uppercase, but decimal numbers have no letters in them.

-Steve


More information about the Digitalmars-d mailing list