one step towards unification of std.algorithm and std.string

Michel Fortin michel.fortin at michelf.com
Wed Dec 30 15:31:42 PST 2009


On 2009-12-30 13:45:02 -0500, Andrei Alexandrescu 
<SeeWebsiteForEmail at erdani.org> said:

> I'm quite excited about this because it modularizes the entire case
> business, opens strings to many algorithms, and allows generalization of
> string algorithms.

Looks like a great idea... but it'd be clearer if named 
caseinsensitive(str), or perhaps foldcase(str) for shorter.

But whatever the name, this approach is great in that it also makes it 
easy to implement different collations.


> Well, that is until I hit http://d.puremagic.com/issues/show_bug.cgi?id=3659
> 
> Any thoughts and ideas would be appreciated.

That's a bug. Get it fixed.


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/




More information about the Digitalmars-d mailing list