On 03/24/2011 05:32 PM, bearophile wrote:
I tried to keep it as consistent as possible with std.algorithm.OK. Then the question is why std.algorithm uses normal strings instead of q{} ones.And regarding consistency with std.algorithm, a more important factor is that std.algorithm.map is lazy, while you have a eager map, and the lazy version has lazy in the name, so the names are kind of opposite of std.algorithm.
I agree there should be a consistent naming scheme here. Aligning with std.algo to consider lazy as standard sounds good. (Better than the opposite anyway, maybe not as good as explicite for both cases --but this is a lost fight ;-)
Denis -- _________________ vita es estrany spir.wikidot.com
