Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created November 3, 2017 19:35
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save Whateverable/59fd62f246bd12d8e266ad84d2407495 to your computer and use it in GitHub Desktop.
greppable6
infix\:\<cmp\>
File Code
UGEXE/zef
…/Distribution.pm6 :147:
multi sub infix:<cmp>(Distribution $lhs, Distribution $rhs) is export {
colomon/List-Utils
…/Utils.pm :136:
sub sorted-merge(@a, @b, &by = &infix:<cmp>) is export {
drforr/perl6-Perl6-Parser
…/rosetta-b.t :519:
multi infix:<cmp>(ByteStr $x, ByteStr $y) { $x.bytes cmp $y.bytes }
madcapjake/p6dx
…/Diviner.pm6 :196:
multi sub infix:<cmp>(Completion:D $a, Completion:D $b) {
perl6/doc
…/operators.pod6 :1292:
multi sub infix:<cmp>(Any, Any)
perl6/doc
…/operators.pod6 :1293:
multi sub infix:<cmp>(Real:D, Real:D)
perl6/doc
…/operators.pod6 :1294:
multi sub infix:<cmp>(Str:D, Str:D)
perl6/doc
…/operators.pod6 :1295:
multi sub infix:<cmp>(Version:D, Version:D)
perl6/doc
…/Any.pod6 :134:
Sorts iterables with C<infix:<cmp>> or given code object and returns a new C<List>.
perl6/doc
…/ComplexStr.pod6 :86:
multi sub infix:<cmp>(ComplexStr:D $a, ComplexStr:D $b)
perl6/doc
…/IntStr.pod6 :77:
multi sub infix:<cmp>(IntStr:D $a, IntStr:D $b)
perl6/doc
…/List.pod6 :693:
Sorts the list, smallest element first. By default L«C<< infix:<cmp> >>
perl6/doc
…/List.pod6 :1246:
multi sub infix:<cmp>(List @a, List @b)
perl6/doc
…/NumStr.pod6 :77:
multi sub infix:<cmp>(NumStr:D $a, NumStr:D $b)
perl6/doc
…/Order.pod6 :13:
multi sub infix:<cmp>(\a, \b --> Order:D)
perl6/doc
…/Pair.pod6 :131:
multi sub infix:<cmp>(Pair:D, Pair:D)
perl6/doc
…/RatStr.pod6 :85:
multi sub infix:<cmp>(RatStr:D $a, RatStr:D $b)
perl6/doc
…/Supply.pod6 :609:
method max(Supply:D: &custom-routine-to-use = &infix:<cmp> --> Supply:D)
perl6/doc
…/Supply.pod6 :619:
method min(Supply:D: &custom-routine-to-use = &infix:<cmp> --> Supply:D)
perl6/doc
…/Supply.pod6 :629:
method minmax(Supply:D: &custom-routine-to-use = &infix:<cmp> --> Supply:D)
supernovus/perl6-datetime-math
…/Math.pm6 :95:
#multi infix:<cmp>(DateTime $a, DateTime $b) is export {
tony-o/perl6-flow
…/Test.pm6 :40:
$comp = $comp // &infix:<cmp>;
ugexe/zef
…/Distribution.pm6 :145:
multi sub infix:<cmp>(Distribution $lhs, Distribution $rhs) is export {
zostay/perl6-ArrayHash
…/README.md :199:
method sort(ArrayHash:D: 5by = &infix:<cmp>) returns ArrayHash:D
zostay/perl6-ArrayHash
…/ArrayHash.pm6 :526:
method sort(ArrayHash:D: 5by = &infix:<cmp>) returns ArrayHash:D
zostay/perl6-ArrayHash
…/ArrayHash.pm6 :532:
method sort(ArrayHash:D: $by = &infix:<cmp>) returns ArrayHash:D {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment