Improving std.algorithm.find
sybrandy
sybrandy at gmail.com
Mon Jul 19 16:36:57 PDT 2010
> I think that the problem with find() is not so much find() but it's documentation.
> In all honesty, anything with a return type like FindResult!(Range, Ranges) is
> going to scare people off.
I fully agree. I had no idea from the documentation what something like
this was: [1,2,3,4][]. The array documentation doesn't have any
details, so for the most part I've stayed away from std.algorithm
because I don't understand the return types very well. Better
documentation would help a lot.
Casey
More information about the Digitalmars-d
mailing list