On Wednesday, 29 January 2014 at 09:50:13 UTC, Timon Gehr wrote:
> import std.range, std.algorithm;
> int value(int xs[]...) {
> return reduce!((a,b)=>10*a+b)(0,xs.retro);
> }
Sadly, you can't build a struct (with N int fields) or an enum
this way.