Feedback on Átila's Vision for D

SrMordred patric.dexheimer at gmail.com
Fri Oct 25 01:04:19 UTC 2019


> ex:
> //this fails with -betterC
> import std.string : split;
> return "int x; ,".split(",")[0];

Sorry, countUntil is a better example

> //this fails with -betterC
import std.algorithm : countUntil;
auto index = "int x; ,".countUntil(";");




More information about the Digitalmars-d mailing list