www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - A D implementation of the Python difflib module's sequence matcher.

I've just completed my first D package:

http://code.dlang.org/packages/ddiff

It is a straight port, so it isn't at all functional-style.

I'd be happy and interested if anyone could show me how to 
replace some/all of the for[each] loops (without reducing 
performance), or for any other code improvements that would make 
it more idiomatic D.
Feb 12 2020