On Tue, Oct 12, 2010 at 6:37 AM, Daniel Gibson <[email protected]> wrote:
>
> Btw: Is "join" not just a (rather trivial) generalization of reduce?
>
> auto inRange = ...; // range of char[]
> char[] sep = " ";
> auto joined = reduce!( (char[] res, char[] x) {return res~sep~x;})
> (inRange);
>

Not generalization, I meant specialization. (I should probably go to bed.)

Reply via email to