``…/Base.pm6`` :*48*:](https://github.com/moritz/perl6-all-modules/blob/365b204e2c83e9cbb92bd384f4d9fdd7f9ff4372/cpan/SKAJI/HTTP-Tinyish/lib/HTTP/Tinyish/Base.pm6#L48) |
for @out \<-\> $header {
|
| [TBROWDER/Net-IP``…/IP.pm6`` :*136*:](https://github.com/moritz/perl6-all-modules/blob/365b204e2c83e9cbb92bd384f4d9fdd7f9ff4372/cpan/TBROWDER/Net-IP/lib/Net/IP.pm6#L136) |
for @quads \<-\> $q {
|
| [TBROWDER/Net-IP``…/IP.pm6`` :*360*:](https://github.com/moritz/perl6-all-modules/blob/365b204e2c83e9cbb92bd384f4d9fdd7f9ff4372/cpan/TBROWDER/Net-IP/lib/Net/IP.pm6#L360) |
for @ip \<-\> $q {
|
| [UGEXE/zef``…/README.pod`` :*100*:](https://github.com/moritz/perl6-all-modules/blob/365b204e2c83e9cbb92bd384f4d9fdd7f9ff4372/cpan/UGEXE/zef/README.pod#L100) |
Note: In the name portion of the B\ style, a double I\<--\> indicates a I\<::\>. This is because modules can have I\<-\>
|
| [MARTIMM/mongo-perl6-driver``…/465-HLCollection.t`` :*47*:](https://github.com/MARTIMM/mongo-perl6-driver/blob/fd66ba85437c2e6ec2ea35eee11b700db158be7d/xt/HL/465-HLCollection.t#L47) |
is $doc\\<-\>, 'current record is empty', $doc\\<-\>;
|
| [MadcapJake/Test-Lab``…/Experiment.pm6`` :*105*:](https://github.com/MadcapJake/Test-Lab/blob/426512b31da69642145517ac2475050c1fa8f7ab/lib/Test/Lab/Experiment.pm6#L105) |
for @ignore-map \<-\> $ignore {
|
| [Perl6-Noise-Gang/p6-Music-Helpers``…/README.md`` :*32*:](https://github.com/Perl6-Noise-Gang/p6-Music-Helpers/blob/c6b87cd817705eaa4afe2bd53b3895f6fa998f13/README.md#L32) |
The arithmetic operators \`\&infix:\<+\>\` and \`\&infix:\<-\>\` are overloaded and exported for any combination between \`Note\`s and \`Interval\`s, and return new \`Note\`s or \`Interval\`s, depending on invocation:
|
| [Perl6-Noise-Gang/p6-Music-Helpers``…/Helpers.pm`` :*43*:](https://github.com/Perl6-Noise-Gang/p6-Music-Helpers/blob/c6b87cd817705eaa4afe2bd53b3895f6fa998f13/lib/Music/Helpers.pm#L43) |
The arithmetic operators C\<\&infix:\<+\>\> and C\<\&infix:\<-\>\> are overloaded and
|
| [Perl6-Noise-Gang/p6-Music-Helpers``…/Helpers.pm`` :*139*:](https://github.com/Perl6-Noise-Gang/p6-Music-Helpers/blob/c6b87cd817705eaa4afe2bd53b3895f6fa998f13/lib/Music/Helpers.pm#L139) |
multi infix:\<-\>(Note:D $lhs, Note:D $rhs --\> Interval) is export {
|
| [Perl6-Noise-Gang/p6-Music-Helpers``…/Helpers.pm`` :*149*:](https://github.com/Perl6-Noise-Gang/p6-Music-Helpers/blob/c6b87cd817705eaa4afe2bd53b3895f6fa998f13/lib/Music/Helpers.pm#L149) |
multi infix:\<-\>(Note:D $note, Int $interval --\> Note) is export {
|
| [Perl6-Noise-Gang/p6-Music-Helpers``…/Helpers.pm`` :*153*:](https://github.com/Perl6-Noise-Gang/p6-Music-Helpers/blob/c6b87cd817705eaa4afe2bd53b3895f6fa998f13/lib/Music/Helpers.pm#L153) |
multi infix:\<-\>(Int $interval, Note:D $note --\> Note) is export {
|
| [Takadonet/Algorithm--Diff``…/Diff.pm`` :*1213*:](https://github.com/Takadonet/Algorithm--Diff/blob/f8e6e397de6284f80303c42f7f87ebd19ab50fea/lib/Algorithm/Diff.pm#L1213) |
position 0 of the first sequence should be deleted (C\<-\>). The second
github/Takadonet/Algorithm--Diff/lib/Algorithm/Diff.pm1244(C\<+\>: E…
|
| [Tux/CSV``…/CSV.pod6`` :*953*:](https://github.com/Tux/CSV/blob/448283ea5c70ad860a8964642aaf6e6193cabdc1/lib/Text/CSV.pod6#L953) |
The range operator (C\<-\>) using C\s can be used to define top-left and
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*91*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L91) |
multi sub infix:\<-\> ( ::?CLASS $a, Real $b ) is export { $a.new: $a.r-$b, $a.i, $a.j, $a.k }
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*92*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L92) |
multi sub infix:\<-\> ( Real $b, ::?CLASS $a ) is export { $a.new: $b-$a.r,-$a.i,-$a.j,-$a.k }
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*93*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L93) |
multi sub infix:\<-\> ( ::?CLASS $a, Complex $b ) is export { $a.new: $a.r-$b.re, $a.i-$b.im, $a.j, $a.k }
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*94*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L94) |
multi sub infix:\<-\> ( Complex $b, ::?CLASS $a ) is export { $a.new: $b.re-$a.r, $b.im-$a.i, -$a.j, -$a.k }
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*95*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L95) |
multi sub infix:\<-\> ( ::?CLASS $a, ::?CLASS $b ) is export { $a.new: \|( $a.coeffs »-« $b.coeffs ) }
|
| [Util/Perl6-Math-Quaternion``…/Quaternion.pm6`` :*96*:](https://github.com/Util/Perl6-Math-Quaternion/blob/3b90e593f6a428c9b8747bfa02e24087dbf2dcf2/lib/Math/Quaternion.pm6#L96) |
multi sub prefix:\<-\> ( ::?CLASS $a ) is export { $a.new: \|(-« $a.coeffs ) }
|
| [andydude/p6-c-parser``…/Actions.pm6`` :*226*:](https://github.com/andydude/p6-c-parser/blob/8f277d3597d6fa72cc8b7276ac9f9eca8666ec9c/lib/C/Parser/Actions.pm6#L226) |
method unary-operator:sym\<-\> {
|
| [andydude/p6-c-parser``…/Actions.pm6`` :*270*:](https://github.com/andydude/p6-c-parser/blob/8f277d3597d6fa72cc8b7276ac9f9eca8666ec9c/lib/C/Parser/Actions.pm6#L270) |
method additive-operator:sym\<-\>($/) { make
|
| [andydude/p6-c-parser``…/Grammar.pm6`` :*263*:](https://github.com/andydude/p6-c-parser/blob/8f277d3597d6fa72cc8b7276ac9f9eca8666ec9c/lib/C/Parser/Grammar.pm6#L263) |
rule unary-operator:sym\<-\> { \ }
|
| [andydude/p6-c-parser``…/Grammar.pm6`` :*295*:](https://github.com/andydude/p6-c-parser/blob/8f277d3597d6fa72cc8b7276ac9f9eca8666ec9c/lib/C/Parser/Grammar.pm6#L295) |
rule additive-operator:sym\<-\> { \ }
|
| [andydude/p6-c-parser``…/Lexer.pm6`` :*372*:](https://github.com/andydude/p6-c-parser/blob/8f277d3597d6fa72cc8b7276ac9f9eca8666ec9c/lib/C/Parser/Lexer.pm6#L372) |
token punct:sym\<-\> { \ }
|
| [atweiden/config-toml``…/Actions.pm6`` :*279*:](https://github.com/atweiden/config-toml/blob/fb42764f076d57162a6a97f73c146c787430e6af/lib/Config/TOML/Parser/Actions.pm6#L279) |
method plus-or-minus:sym\<-\>($/ --\> Nil)
|
| [atweiden/config-toml``…/Grammar.pm6`` :*277*:](https://github.com/atweiden/config-toml/blob/fb42764f076d57162a6a97f73c146c787430e6af/lib/Config/TOML/Parser/Grammar.pm6#L277) |
token plus-or-minus:sym\<-\> { \ }
|
| [atweiden/txn-parser``…/Actions.pm6`` :*329*:](https://github.com/atweiden/txn-parser/blob/7bbedb1b747226e84361029e42064966b6345065/lib/TXN/Parser/Actions.pm6#L329) |
method plus-or-minus:sym\<-\>($/ --\> Nil)
|
| [atweiden/txn-parser``…/Grammar.pm6`` :*323*:](https://github.com/atweiden/txn-parser/blob/7bbedb1b747226e84361029e42064966b6345065/lib/TXN/Parser/Grammar.pm6#L323) |
token plus-or-minus:sym\<-\> { \ }
|
| [awwaiid/p6-Inline-Ruby``…/Ruby.pm6`` :*234*:](https://github.com/awwaiid/p6-Inline-Ruby/blob/54cf20d9746f26e7c33c366e3c3ce0609f45d6ef/lib/Inline/Ruby.pm6#L234) |
multi sub infix:\<-\>(Inline::Ruby::RbObject $left-obj, Any $right-obj) is export {
|
| [colomon/Math-ContinuedFractions``…/ContinuedFraction.pm`` :*137*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/lib/Math/ContinuedFraction.pm#L137) |
multi sub infix:\<-\>(Math::ContinuedFraction $x, Math::ContinuedFraction $y) is export {
|
| [colomon/Math-ContinuedFractions``…/ContinuedFraction.pm`` :*141*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/lib/Math/ContinuedFraction.pm#L141) |
multi sub infix:\<-\>(Math::ContinuedFraction $x, $y) is export {
|
| [colomon/Math-ContinuedFractions``…/ContinuedFraction.pm`` :*145*:](https://github.com/colomon/Math-ContinuedFractions/blob/d657704ad389fb3a0943d89547223fc0f1647467/lib/Math/ContinuedFraction.pm#L145) |
multi sub infix:\<-\>($x, Math::ContinuedFraction $y) is export {
|
| [colomon/Math-Polynomial``…/Polynomial.pm`` :*73*:](https://github.com/colomon/Math-Polynomial/blob/be0c31dac06b5a5ff10c9018f66c835f60c19f29/lib/Math/Polynomial.pm#L73) |
multi sub prefix:\<-\>(Math::Polynomial $a) is export(:DEFAULT) {
|
| [colomon/Math-Polynomial``…/Polynomial.pm`` :*77*:](https://github.com/colomon/Math-Polynomial/blob/be0c31dac06b5a5ff10c9018f66c835f60c19f29/lib/Math/Polynomial.pm#L77) |
multi sub infix:\<-\>(Math::Polynomial $a, Math::Polynomial $b) is export(:DEFAULT) {
|
| [colomon/Math-Polynomial``…/Polynomial.pm`` :*81*:](https://github.com/colomon/Math-Polynomial/blob/be0c31dac06b5a5ff10c9018f66c835f60c19f29/lib/Math/Polynomial.pm#L81) |
multi sub infix:\<-\>(Math::Polynomial $a, $b) is export(:DEFAULT) {
|
| [colomon/Math-Polynomial``…/Polynomial.pm`` :*87*:](https://github.com/colomon/Math-Polynomial/blob/be0c31dac06b5a5ff10c9018f66c835f60c19f29/lib/Math/Polynomial.pm#L87) |
multi sub infix:\<-\>($b, Math::Polynomial $a) is export(:DEFAULT) {
|
| [colomon/Math-Vector``…/Vector.pm`` :*92*:](https://github.com/colomon/Math-Vector/blob/0124769d780fcdca78b6241c4a8e50858cad7bc7/lib/Math/Vector.pm#L92) |
multi sub infix:\<-\>(Math::Vector $a, Math::Vector $b where { $a.dim == $b.dim }) is export
|
| [colomon/Math-Vector``…/Vector.pm`` :*97*:](https://github.com/colomon/Math-Vector/blob/0124769d780fcdca78b6241c4a8e50858cad7bc7/lib/Math/Vector.pm#L97) |
multi sub prefix:\<-\>(Math::Vector $a) is export
|
| [drforr/perl6-Perl6-Parser``…/rosetta-b.t`` :*199*:](https://github.com/drforr/perl6-Perl6-Parser/blob/51711e2daf08db1fe0749713733ed3336892dc1b/t/corpus/rosetta-b.t#L199) |
multi prefix:\<-\> (BT $x) { $x.neg }
|
| [drforr/perl6-Perl6-Parser``…/rosetta-b.t`` :*206*:](https://github.com/drforr/perl6-Perl6-Parser/blob/51711e2daf08db1fe0749713733ed3336892dc1b/t/corpus/rosetta-b.t#L206) |
multi infix:\<-\> (BT $x, BT $y) { $x + $y.neg }
|
| [grondilu/clifford``…/Clifford.pm6`` :*25*:](https://github.com/grondilu/clifford/blob/2c0ccd694db83ff279e638c89d9d2b5b5d3a01e1/lib/Clifford.pm6#L25) |
multi prefix:\<-\>(MultiVector $A) returns MultiVector is export { return -1 \* $A }
|
| [grondilu/clifford``…/Clifford.pm6`` :*26*:](https://github.com/grondilu/clifford/blob/2c0ccd694db83ff279e638c89d9d2b5b5d3a01e1/lib/Clifford.pm6#L26) |
multi infix:\<-\>(MultiVector $A, MultiVector $B) returns MultiVector is export { $A + -$B }
|
| [grondilu/clifford``…/Clifford.pm6`` :*27*:](https://github.com/grondilu/clifford/blob/2c0ccd694db83ff279e638c89d9d2b5b5d3a01e1/lib/Clifford.pm6#L27) |
multi infix:\<-\>(MultiVector $A, Real $s) returns MultiVector is export { $A + -$s }
|
| [grondilu/clifford``…/Clifford.pm6`` :*28*:](https://github.com/grondilu/clifford/blob/2c0ccd694db83ff279e638c89d9d2b5b5d3a01e1/lib/Clifford.pm6#L28) |
multi infix:\<-\>(Real $s, MultiVector $A) returns MultiVector is export { $s + -$A }
|
| [grondilu/p6-modular``…/Modular.pm`` :*27*:](https://github.com/grondilu/p6-modular/blob/990846d44b11998eef4685f8cc7d1648c031cffb/lib/Modular.pm#L27) |
multi prefix:\<-\>(Modulo $a)
|
| [grondilu/p6-modular``…/Modular.pm`` :*29*:](https://github.com/grondilu/p6-modular/blob/990846d44b11998eef4685f8cc7d1648c031cffb/lib/Modular.pm#L29) |
multi infix:\<-\>(Modulo $a, Modulo $b where $a.modulus \~\~ $b.modulus)
|
| [jamesneko/dice-roller``…/Roller.pm6`` :*21*:](https://github.com/jamesneko/dice-roller/blob/a32d40d594c5d3ed466be43f0800b54ded531bee/lib/Dice/Roller.pm6#L21) |
token add\_op:sym\<-\> { \ }
|
| [jamesneko/dice-roller``…/Roller.pm6`` :*292*:](https://github.com/jamesneko/dice-roller/blob/a32d40d594c5d3ed466be43f0800b54ded531bee/lib/Dice/Roller.pm6#L292) |
method add\_op:sym\<-\>($/) {
|
| [masak/007``…/Builtins.pm`` :*228*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/lib/_007/Builtins.pm#L228) |
die X::TypeCheck.new(:operation\<-\>, :got($lhs), :expected(Val::Int))
|
| [masak/007``…/Builtins.pm`` :*230*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/lib/_007/Builtins.pm#L230) |
die X::TypeCheck.new(:operation\<-\>, :got($rhs), :expected(Val::Int))
|
| [masak/007``…/Builtins.pm`` :*308*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/lib/_007/Builtins.pm#L308) |
:operation("prefix:\<-\>"),
|
| [masak/007``…/Q.pm`` :*146*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/lib/_007/Q.pm#L146) |
### like \`-5\` is parsed as a \`prefix:\<-\>\` containing a literal \`5\`.
|
| [masak/007``…/operators.t`` :*381*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/t/features/builtins/operators.t#L381) |
outputs 'say(infix:\<+\> == prefix:\<-\>)', "False\\n",
|
| [masak/007``…/custom-ops.t`` :*476*:](https://github.com/masak/007/blob/dc6354aacef02c00ba3e5c56380ff8abcf905312/t/features/custom-ops.t#L476) |
func infix:\(left, right) is tighter(prefix:\<-\>) {
|
| [masak/gge``…/Perl6Regex.pm`` :*646*:](https://github.com/masak/gge/blob/d6a018cdd3e5391e59e1e8d20548997708c330be/lib/GGE/Perl6Regex.pm#L646) |
if $exp.hash-access('sep') \<-\> $sep {
|
| [matiaslina/perl6-matrix-client``…/client.pod6`` :*166*:](https://github.com/matiaslina/perl6-matrix-client/blob/305bb42b3311c8ac9d04235e5548ae9b67de06ac/docs/client.pod6#L166) |
The parameters can be typed with C\<-\> instead C\<\_\> for style purposes, the method
|
| [perl6-community-modules/Date-WorkdayCalendar``…/WorkdayCalendar.pm`` :*229*:](https://github.com/perl6-community-modules/Date-WorkdayCalendar/blob/90e53aefdad19f535dd2e157bb1fdf40fec50ba3/lib/Date/WorkdayCalendar.pm#L229) |
multi infix:\<-\>(Workdate:D $start, Workdate:D $target) is export {
|
| [perl6-community-modules/Date-WorkdayCalendar``…/WorkdayCalendar.pm`` :*266*:](https://github.com/perl6-community-modules/Date-WorkdayCalendar/blob/90e53aefdad19f535dd2e157bb1fdf40fec50ba3/lib/Date/WorkdayCalendar.pm#L266) |
C\ or C\<-\> as separators in a date. The format of the date B\ in
|
| [perl6-community-modules/Date-WorkdayCalendar``…/WorkdayCalendar.pm`` :*448*:](https://github.com/perl6-community-modules/Date-WorkdayCalendar/blob/90e53aefdad19f535dd2e157bb1fdf40fec50ba3/lib/Date/WorkdayCalendar.pm#L448) |
=head2 Arithmetic: C\\<-\> Workdate $wd2\>
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*68*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L68) |
In identifiers, Perl 6 allows the use of dashes (C\<-\>), underscores (C\<\_\>), apostrophes (C\<'\>), and alphanumerics:
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*517*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L517) |
=item C\<-\> Numeric Subtraction
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*856*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L856) |
variable to a C«\<-\>». When translating from Perl 5, inspect the use of the loop variable to decide if
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*863*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L863) |
for @cars \<-\> $car {...} # Perl 6; read-write
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*871*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L871) |
for @cars \<-\> $\_ {...} # Perl 6; $\_ is also read-write
|
| [perl6/doc``…/5to6-nutshell.pod6`` :*1281*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-nutshell.pod6#L1281) |
use of C\<-\> with C\<-M\> to "no" a module is no longer available.
|
| [perl6/doc``…/5to6-perlfunc.pod6`` :*100*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-perlfunc.pod6#L100) |
however - method calls bind more tightly than C\<-\>, so, for example,
|
| [perl6/doc``…/5to6-perlop.pod6`` :*70*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-perlop.pod6#L70) |
As in Perl 5, unary C\ and C\<-\> do logical and arithmetic negation,
|
| [perl6/doc``…/5to6-perlop.pod6`` :*112*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/5to6-perlop.pod6#L112) |
Binary C\<+\> and C\<-\> do addition and subtraction, respectively, as you would
|
| [perl6/doc``…/contexts.pod6`` :*50*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/contexts.pod6#L50) |
Numeric context can be forced by using arithmetic operators such as C\<+\> or C\<-\>. In that context, the L\\|/routine/Numeric\> method will be called if available and the value returned used as the numeric value of the object.
|
| [perl6/doc``…/control.pod6`` :*417*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/control.pod6#L417) |
to be read-write, use C«\<-\>» instead of C«-\>». If you need to make C\<$\_\>
|
| [perl6/doc``…/control.pod6`` :*421*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/control.pod6#L421) |
for @foo \<-\> $\_ { $\_++ }
|
| [perl6/doc``…/functions.pod6`` :*1078*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/functions.pod6#L1078) |
double dashes (C\<-\> or C\<--\>).
|
| [perl6/doc``…/js-nutshell.pod6`` :*274*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/js-nutshell.pod6#L274) |
Node.js has C\<+\>, C\<-\>, C\, C\<\*\>, C\<%\>, and (in ES6) C\<\*\*\> as numeric
|
| [perl6/doc``…/operators.pod6`` :*909*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/operators.pod6#L909) |
multi sub prefix:\<-\>(Any --\> Numeric:D)
|
| [perl6/doc``…/operators.pod6`` :*1124*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/operators.pod6#L1124) |
multi sub infix:\<-\>($a, $b --\> Numeric:D)
|
| [perl6/doc``…/rb-nutshell.pod6`` :*401*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/rb-nutshell.pod6#L401) |
=item C\<-\> Numeric Subtraction
|
| [perl6/doc``…/rb-nutshell.pod6`` :*692*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/rb-nutshell.pod6#L692) |
Ruby, unless you change C«-\>» to C«\<-\>».
|
| [perl6/doc``…/rb-nutshell.pod6`` :*699*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/rb-nutshell.pod6#L699) |
for @cars \<-\> $car {...} # Perl 6; read-write
|
| [perl6/doc``…/regexes.pod6`` :*342*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/regexes.pod6#L342) |
Within the C«\< \>» you can use C\<+\> and C\<-\> to add or remove multiple range
|
| [perl6/doc``…/regexes.pod6`` :*360*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/regexes.pod6#L360) |
To negate a character class, put a C\<-\> after the opening angle:
|
| [perl6/doc``…/regexes.pod6`` :*373*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/regexes.pod6#L373) |
Just as you can use the C\<-\> for both set difference and negation of a
|
| [perl6/doc``…/syntax.pod6`` :*230*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/syntax.pod6#L230) |
underscore or number). You can also embed dashes C\<-\> or single quotes
|
| [perl6/doc``…/traps.pod6`` :*971*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Language/traps.pod6#L971) |
tighter than that of the prefix C\<-\>. If you wish to raise a negative number
|
| [perl6/doc``…/Block.pod6`` :*19*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Block.pod6#L19) |
A block can have a L\ between C\<\< -\> \>\> or C\<\< \<-\> \>\>
|
| [perl6/doc``…/Block.pod6`` :*25*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Block.pod6#L25) |
If the signature is introduced with C\<\< \<-\> \>\>, then the parameters are marked
|
| [perl6/doc``…/Block.pod6`` :*27*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Block.pod6#L27) |
X«\|\<-\>»
|
| [perl6/doc``…/Block.pod6`` :*29*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Block.pod6#L29) |
my $swap = \<-\> $a, $b { ($a, $b) = ($b, $a) };
|
| [perl6/doc``…/Date.pod6`` :*337*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Date.pod6#L337) |
=head2 sub infix:\<-\>
|
| [perl6/doc``…/Date.pod6`` :*339*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Date.pod6#L339) |
multi sub infix:\<-\> (Date:D, Int:D --\> Date:D)
|
| [perl6/doc``…/Date.pod6`` :*340*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Date.pod6#L340) |
multi sub infix:\<-\> (Date:D, Date:D --\> Int:D)
|
| [perl6/doc``…/DateTime.pod6`` :*397*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/DateTime.pod6#L397) |
=head2 sub infix:\<-\>
|
| [perl6/doc``…/DateTime.pod6`` :*399*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/DateTime.pod6#L399) |
multi sub infix:\<-\> (DateTime:D, Duration:D --\> DateTime:D)
|
| [perl6/doc``…/DateTime.pod6`` :*400*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/DateTime.pod6#L400) |
multi sub infix:\<-\> (DateTime:D, DateTime:D --\> Duration:D)
|
| [perl6/doc``…/Signature.pod6`` :*21*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Signature.pod6#L21) |
L\ names, on blocks after a C\<\< -\> \>\> or C\<\< \<-\> \>\> arrow,
|
| [perl6/doc``…/Str.pod6`` :*682*:](https://github.com/perl6/doc/blob/46384a1c8dde964f122905507268c74636226086/doc/Type/Str.pod6#L682) |
effect as the C\<-\> flag: left-justification.
|
| [perlpilot/p6-Questhub``…/qh`` :*14*:](https://github.com/perlpilot/p6-Questhub/blob/a1de76e6af34ce2153fef3fb245d3a1187ad68e6/bin/qh#L14) |
next unless any(@($q.tags)) \~\~ any(@(%c\<+\>)) \& none(@(%c\<-\>));
|
| [pierre-vigier/Perl6-Math-Matrix``…/Matrix.pm6`` :*893*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/a97a3fc4d85a3acffa09c41d5f3efca183cc9a52/lib/Math/Matrix.pm6#L893) |
multi sub prefix:\<-\>(::?CLASS $a --\> ::?CLASS:D ) is export { $a.negated() }
|
| [pierre-vigier/Perl6-Math-Matrix``…/Matrix.pm6`` :*894*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/a97a3fc4d85a3acffa09c41d5f3efca183cc9a52/lib/Math/Matrix.pm6#L894) |
multi sub infix:\<-\>(Numeric $n, ::?CLASS $a --\> ::?CLASS:D ) is export { $a.negated.add($n) }
|
| [pierre-vigier/Perl6-Math-Matrix``…/Matrix.pm6`` :*895*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/a97a3fc4d85a3acffa09c41d5f3efca183cc9a52/lib/Math/Matrix.pm6#L895) |
multi sub infix:\<-\>(::?CLASS $a, Numeric $n --\> ::?CLASS:D ) is export { $a.add(-$n) }
|
| [pierre-vigier/Perl6-Math-Matrix``…/Matrix.pm6`` :*896*:](https://github.com/pierre-vigier/Perl6-Math-Matrix/blob/a97a3fc4d85a3acffa09c41d5f3efca183cc9a52/lib/Math/Matrix.pm6#L896) |
multi sub infix:\<-\>(::?CLASS $a,::?CLASS $b --\> ::?CLASS:D ) is export { $a.subtract($b) }
|
| [ppentchev/perl6-Getopt-Std``…/Std.pm6`` :*236*:](https://github.com/ppentchev/perl6-Getopt-Std/blob/7a4241c9c0e256feee424dab14d9dc7c8ee93539/lib/Getopt/Std.pm6#L236) |
with a C\<-\> character. The C\<:permute\> flag is redundant if C\<:nonopts\>
|
| [rakudo-p5/v5``…/Grammar.pm`` :*2722*:](https://github.com/rakudo-p5/v5/blob/2f7d4da791b69694ed605fd337945c75919ff9bb/src/Perl5/Grammar.pm#L2722) |
token prefix:sym\<-\> { \ \ }
|
| [rakudo-p5/v5``…/Grammar.pm`` :*2744*:](https://github.com/rakudo-p5/v5/blob/2f7d4da791b69694ed605fd337945c75919ff9bb/src/Perl5/Grammar.pm#L2744) |
token infix:sym\<-\> { \ \ }
|
| [raydiak/Math-Symbolic``…/Language.pm6`` :*69*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic/Language.pm6#L69) |
:eval( \&infix:\<-\> ),
|
| [raydiak/Math-Symbolic``…/Language.pm6`` :*252*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic/Language.pm6#L252) |
:eval( \&prefix:\<-\> ),
|
| [raydiak/Math-Symbolic``…/Language.pm6`` :*357*:](https://github.com/raydiak/Math-Symbolic/blob/c7e3a622c3595b2787970bc872c2fd7b74c2fe03/lib/Math/Symbolic/Language.pm6#L357) |
for $func."$prop"() \<-\> $val {
|
| [sergot/Term--ProgressBar``…/e2.p6`` :*5*:](https://github.com/sergot/Term--ProgressBar/blob/201d3a0ffdc18a1af8f566fd9104c08a1568a944/examples/e2.p6#L5) |
my $bar = Term::ProgressBar.new( :left\<-\>, :right\<-\>, :style\<\|\>, count =\> $count, :name\, width =\> 25, :p );
|
| [spitsh/spitsh``…/Actions.pm6`` :*899*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/Parser/Actions.pm6#L899) |
method prefix:sym\<-\> ($/) { make SAST::Negative.new() }
|
| [spitsh/spitsh``…/Grammar.pm6`` :*582*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/Parser/Grammar.pm6#L582) |
token prefix:sym\<-\> { \ }
|
| [spitsh/spitsh``…/SAST.pm6`` :*648*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/SAST.pm6#L648) |
for \|@!write,\|@!append,\|@!in \<-\> $lhs, $rhs {
|
| [spitsh/spitsh``…/SAST.pm6`` :*1218*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/SAST.pm6#L1218) |
for flat @.children Z ($!LHS-junct-ctx,$!RHS-junct-ctx) \<-\> $child,$junct-ctx {
|
| [spitsh/spitsh``…/SAST.pm6`` :*1374*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/SAST.pm6#L1374) |
if $cond.topic \<-\> $topic-container {
|
| [spitsh/spitsh``…/Compile-Statement-Control.pm6`` :*54*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/Sh/Compiler/Compile-Statement-Control.pm6#L54) |
for @places-to-look \<-\> $thing {
|
| [spitsh/spitsh``…/Composer.pm6`` :*284*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/Sh/Composer.pm6#L284) |
if $THIS.else \<-\> $else {
|
| [spitsh/spitsh``…/Composer.pm6`` :*672*:](https://github.com/spitsh/spitsh/blob/9bfc183c6c2aa01b7f30c5cbfc9b7dabd39429e8/lib/Spit/Sh/Composer.pm6#L672) |
if $block.one-stmt \<-\> $last-stmt {
|
| [supernovus/perl6-datetime-math``…/Math.pm6`` :*91*:](https://github.com/supernovus/perl6-datetime-math/blob/722b4452f8f58a9fa7f76c63662c4cf337e1b050/lib/DateTime/Math.pm6#L91) |
#multi infix:\<-\>(DateTime:D $a, DateTime:D $b) is export {
|
| [tony-o/perl6-bench``…/Bench.pm6`` :*4*:](https://github.com/tony-o/perl6-bench/blob/3e25438cdbc9981f8ec9b4ce812be85f8e1891c5/lib/Bench.pm6#L4) |
(try require ::('Telemetry') \<\&infix:\<-\>\>) === Nil and $use-telemetry = False;
|
| [tony-o/perl6-bench``…/Bench.pm6`` :*25*:](https://github.com/tony-o/perl6-bench/blob/3e25438cdbc9981f8ec9b4ce812be85f8e1891c5/lib/Bench.pm6#L25) |
?? infix:\<-\>($a[$i], $b[$i])
|
| [tony-o/perl6-bench``…/telemetry.t`` :*7*:](https://github.com/tony-o/perl6-bench/blob/3e25438cdbc9981f8ec9b4ce812be85f8e1891c5/t/telemetry.t#L7) |
if (try require ::('Telemetry') \<\&infix:\<-\>\>) !\~\~ Nil {
|
| [ugexe/zef``…/README.pod`` :*105*:](https://github.com/ugexe/zef/blob/846c5ab92cdf6a788abc23b19ce81979b84d8e4a/README.pod#L105) |
Note: In the name portion of the B\ style, a double I\<--\> indicates a I\<::\>. This is because modules can have I\<-\>
|
| [zoffixznet/perl6-Color``…/README.pod`` :*260*:](https://github.com/zoffixznet/perl6-Color/blob/9abf28672c16b72acdf87bbaf4e90ef8ca1c899b/README.pod#L260) |
=head2 C\<-\>
|
| [zoffixznet/perl6-Color``…/Operators.pm6`` :*8*:](https://github.com/zoffixznet/perl6-Color/blob/9abf28672c16b72acdf87bbaf4e90ef8ca1c899b/lib/Color/Operators.pm6#L8) |
multi infix:\<-\> (Color $c1, Real $c2) is export {Color.new(\|op $c1, $c2, '-')}
|
| [zoffixznet/perl6-Color``…/Operators.pm6`` :*9*:](https://github.com/zoffixznet/perl6-Color/blob/9abf28672c16b72acdf87bbaf4e90ef8ca1c899b/lib/Color/Operators.pm6#L9) |
multi infix:\<-\> (Real $c1, Color $c2) is export {Color.new(\|op $c1, $c2, '-')}
|
| [zoffixznet/perl6-Color``…/Operators.pm6`` :*10*:](https://github.com/zoffixznet/perl6-Color/blob/9abf28672c16b72acdf87bbaf4e90ef8ca1c899b/lib/Color/Operators.pm6#L10) |
multi infix:\<-\> (Color $c1, Color $c2) is export {Color.new(\|op $c1, $c2, '-')}
|