On 16.09.2011 23:58, zeljkog wrote:
On 16.09.2011 23:38, Andrei Alexandrescu wrote:xyz!"a<b"([1,2,3,1,2,3]) is 1xyz!"a>b"([1,2,3,1,2,3]) is 3 Question is what's a good name for xyz.Reduce, accumulate, fold...
I mean reduce!"a<b? a: b"
On 16.09.2011 23:58, zeljkog wrote:
On 16.09.2011 23:38, Andrei Alexandrescu wrote:xyz!"a<b"([1,2,3,1,2,3]) is 1xyz!"a>b"([1,2,3,1,2,3]) is 3 Question is what's a good name for xyz.Reduce, accumulate, fold...
I mean reduce!"a<b? a: b"