On 2012-52-29 20:12, mist <n...@none.none> wrote:
Not clever enough to expand like this though: map!( (a, b) => a+b )( zip(Range1, Range2) ); Using a => a[0]+a[1] is not that big deal though.
That oughta be doable. However, seeing as std.functional only contains unaryFun and binaryFun (dranges has naryFun), this approach cannot currently extend to tuples with more than two fields. -- Simen