Peter Alexander <[email protected]> wrote:
It would be nice if we could just write:
assert(equal(iota(1,6).filter!("a&1").map!("2*a"), [2,6,10]));
Incidentally, why doesn't the uniform function call syntax allow this?
Mostly because it isn't implemented yet, I think. Well, it is for arrays, but not for any other type, like the lazier ranges returned from iota, filter and map. -- Simen
