On 06/08/2010 06:59 AM, bearophile wrote:
Bernard Helyer:bool contains(T)(const(T)[] l, T a) { foreach(e; l) { if (a == e) { return true; } } return false; }See also: http://d.puremagic.com/issues/show_bug.cgi?id=3923
That issue stems from the fact that find is quite flexible. I agree it has lost modularity in the process. I'll work on restoring its modularity.
Andrei