|
Revision 12509, 0.9 kB
(checked in by trey, 2 years ago)
|
|
TASK done:
spellchecking Overview PODs.
|
-
Property svn:mime-type set to
text/plain; charset=UTF-8
-
Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 | =head1 NAME |
|---|
| 2 | |
|---|
| 3 | Perl6::Overview::Reduce - Reduce metaoperator |
|---|
| 4 | |
|---|
| 5 | =head1 DESCRIPTION |
|---|
| 6 | |
|---|
| 7 | Uses of the reduction meta-operator: |
|---|
| 8 | |
|---|
| 9 | [+] # sum(...) |
|---|
| 10 | [*] # product |
|---|
| 11 | [*] 1..$x # factorial |
|---|
| 12 | [~] # join('', ...) |
|---|
| 13 | [+^] # numeric parity |
|---|
| 14 | [~^] # string parity |
|---|
| 15 | [?^] # boolean parity |
|---|
| 16 | [<] # monotony |
|---|
| 17 | [==] # equality |
|---|
| 18 | [//] # first defined element |
|---|
| 19 | [||] # first true element |
|---|
| 20 | [=>] # linked list construction |
|---|
| 21 | [&] # all(...) |
|---|
| 22 | [|] # any(...) |
|---|
| 23 | [^] # one(...) |
|---|
| 24 | [Y] # zip(...) |
|---|
| 25 | [,] # noop, returns input list |
|---|
| 26 | [;] # [[;] 1,2,3] === [1;2;3] == [[1],[2],[3]] |
|---|
| 27 | [>>op<<] # perform op on each column |
|---|