mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Fix a couple of tuple links
This commit is contained in:
parent
279f99642e
commit
0074d24c6a
1 changed files with 6 additions and 5 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue