Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed double as from src/operators.pod #74

Merged
merged 1 commit into from
Oct 29, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/operators.pod
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ X<meta operator, reduce>
The infix C<max> operator returns the greater of two values, so C<2 max 3> The infix C<max> operator returns the greater of two values, so C<2 max 3>
returns 3. Square brackets around an infix operator cause Perl to apply the returns 3. Square brackets around an infix operator cause Perl to apply the
operator to a list element by element. C<[max] 1, 5, 3, 7> is the same as C<1 operator to a list element by element. C<[max] 1, 5, 3, 7> is the same as C<1
max 5 max 3 max 7> and evaluates to C<7>. You might know this as as I<reduce> max 5 max 3 max 7> and evaluates to C<7>. You might know this as I<reduce>
from other programming languages. from other programming languages.


Likewise, you can write C<[+]> to get the sum of a list of values, C<[*]> for Likewise, you can write C<[+]> to get the sum of a list of values, C<[*]> for
Expand Down