@@ -530,7 +530,7 @@ sum(f, a; kw...) = mapreduce(f, add_sum, a; kw...)
530530""" 
531531    sum(itr; [init]) 
532532
533- Returns  the sum of all elements in a collection.
533+ Return  the sum of all elements in a collection.
534534
535535The return type is `Int` for signed integers of less than system word size, and 
536536`UInt` for unsigned integers of less than system word size.  For all other 
@@ -562,7 +562,7 @@ sum(a::AbstractArray{Bool}; kw...) =
562562""" 
563563    prod(f, itr; [init]) 
564564
565- Returns  the product of `f` applied to each element of `itr`.
565+ Return  the product of `f` applied to each element of `itr`.
566566
567567The return type is `Int` for signed integers of less than system word size, and 
568568`UInt` for unsigned integers of less than system word size.  For all other 
@@ -586,7 +586,7 @@ prod(f, a; kw...) = mapreduce(f, mul_prod, a; kw...)
586586""" 
587587    prod(itr; [init]) 
588588
589- Returns  the product of all elements of a collection.
589+ Return  the product of all elements of a collection.
590590
591591The return type is `Int` for signed integers of less than system word size, and 
592592`UInt` for unsigned integers of less than system word size.  For all other 
673673""" 
674674    maximum(f, itr; [init]) 
675675
676- Returns  the largest result of calling function `f` on each element of `itr`.
676+ Return  the largest result of calling function `f` on each element of `itr`.
677677
678678The value returned for empty `itr` can be specified by `init`. It must be 
679679a neutral element for `max` (i.e. which is less than or equal to any 
@@ -700,7 +700,7 @@ maximum(f, a; kw...) = mapreduce(f, max, a; kw...)
700700""" 
701701    minimum(f, itr; [init]) 
702702
703- Returns  the smallest result of calling function `f` on each element of `itr`.
703+ Return  the smallest result of calling function `f` on each element of `itr`.
704704
705705The value returned for empty `itr` can be specified by `init`. It must be 
706706a neutral element for `min` (i.e. which is greater than or equal to any 
@@ -727,7 +727,7 @@ minimum(f, a; kw...) = mapreduce(f, min, a; kw...)
727727""" 
728728    maximum(itr; [init]) 
729729
730- Returns  the largest element in a collection.
730+ Return  the largest element in a collection.
731731
732732The value returned for empty `itr` can be specified by `init`. It must be 
733733a neutral element for `max` (i.e. which is less than or equal to any 
@@ -759,7 +759,7 @@ maximum(a; kw...) = mapreduce(identity, max, a; kw...)
759759""" 
760760    minimum(itr; [init]) 
761761
762- Returns  the smallest element in a collection.
762+ Return  the smallest element in a collection.
763763
764764The value returned for empty `itr` can be specified by `init`. It must be 
765765a neutral element for `min` (i.e. which is greater than or equal to any 
870870""" 
871871    findmax(f, domain) -> (f(x), index) 
872872
873- Returns  a pair of a value in the codomain (outputs of `f`) and the index of
873+ Return  a pair of a value in the codomain (outputs of `f`) and the index of
874874the corresponding value in the `domain` (inputs to `f`) such that `f(x)` is maximised. 
875875If there are multiple maximal points, then the first one will be returned. 
876876
@@ -929,7 +929,7 @@ _findmax(a, ::Colon) = findmax(identity, a)
929929""" 
930930    findmin(f, domain) -> (f(x), index) 
931931
932- Returns  a pair of a value in the codomain (outputs of `f`) and the index of
932+ Return  a pair of a value in the codomain (outputs of `f`) and the index of
933933the corresponding value in the `domain` (inputs to `f`) such that `f(x)` is minimised. 
934934If there are multiple minimal points, then the first one will be returned. 
935935
0 commit comments