Fix a couple of tuple links

This commit is contained in:
Ali Çehreli 2017-12-20 22:14:40 -08:00
parent 279f99642e
commit 0074d24c6a

View file

@ -2747,9 +2747,9 @@ Params:
See_Also: See_Also:
$(HTTP en.wikipedia.org/wiki/Fold_(higher-order_function), Fold (higher-order function)) $(HTTP en.wikipedia.org/wiki/Fold_(higher-order_function), Fold (higher-order function))
$(LREF fold) is functionally equivalent to $(LREF _reduce) with the argument order reversed, $(LREF fold) is functionally equivalent to $(LREF _reduce) with the argument
and without the need to use $(LREF tuple) for multiple seeds. This makes it easier order reversed, and without the need to use $(REF_ALTTEXT $(D tuple),tuple,std,typecons)
to use in UFCS chains. for multiple seeds. This makes it easier to use in UFCS chains.
$(LREF sum) is similar to $(D reduce!((a, b) => a + b)) that offers $(LREF sum) is similar to $(D reduce!((a, b) => a + b)) that offers
pairwise summing of floating point numbers. pairwise summing of floating point numbers.
@ -3206,8 +3206,9 @@ See_Also:
$(LREF sum) is similar to $(D fold!((a, b) => a + b)) that offers $(LREF sum) is similar to $(D fold!((a, b) => a + b)) that offers
precise summing of floating point numbers. precise summing of floating point numbers.
This is functionally equivalent to $(LREF reduce) with the argument order reversed, This is functionally equivalent to $(LREF reduce) with the argument order
and without the need to use $(LREF tuple) for multiple seeds. reversed, and without the need to use $(REF_ALTTEXT $(D tuple),tuple,std,typecons)
for multiple seeds.
+/ +/
template fold(fun...) template fold(fun...)
if (fun.length >= 1) if (fun.length >= 1)