Lazy generic std.algorithm.replace()

Nordlöw via Digitalmars-d digitalmars-d at puremagic.com
Fri Oct 23 04:53:05 PDT 2015


On Friday, 23 October 2015 at 11:23:55 UTC, Nordlöw wrote:
> Is there a reason why std.algorithm doesn't provide a lazy 
> range implementation of replace()?

Sample implementation at

https://github.com/nordlow/justd/blob/master/algorithm_ex.d#L1939

for one replacement pair.


More information about the Digitalmars-d mailing list